Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01047/0.01047, allocations: 99.69 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 197.5 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.89 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3302, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.9182/1.248, allocations: 167.5 MB / 1.371 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008247/1.257, allocations: 6.537 MB / 1.377 GB, free: 12.26 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005717/1.257, allocations: 16.66 kB / 1.377 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000612/1.258, allocations: 176.9 kB / 1.377 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/1.26, allocations: 0.836 MB / 1.378 GB, free: 11.69 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009807/1.261, allocations: 330.8 kB / 1.379 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001018/1.262, allocations: 0.7207 MB / 1.379 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/1.263, allocations: 283.6 kB / 1.38 GB, free: 10.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/1.264, allocations: 0.5442 MB / 1.38 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/1.265, allocations: 273.5 kB / 1.38 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/1.265, allocations: 22.31 kB / 1.38 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/1.265, allocations: 342.5 kB / 1.381 GB, free: 10.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/1.266, allocations: 110.2 kB / 1.381 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/1.266, allocations: 162 kB / 1.381 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007492/1.267, allocations: 469.4 kB / 1.381 GB, free: 9.793 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.267, allocations: 1.094 kB / 1.381 GB, free: 9.793 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.102e-06/1.267, allocations: 0 / 1.381 GB, free: 9.793 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.487e-05/1.267, allocations: 0 / 1.381 GB, free: 9.793 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009437/1.268, allocations: 0.6261 MB / 1.382 GB, free: 9.227 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.268, allocations: 9.75 kB / 1.382 GB, free: 9.227 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.94e-05/1.268, allocations: 59.64 kB / 1.382 GB, free: 9.168 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/1.268, allocations: 55 kB / 1.382 GB, free: 9.145 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/1.269, allocations: 328.5 kB / 1.382 GB, free: 8.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.269, allocations: 26.42 kB / 1.382 GB, free: 8.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/1.269, allocations: 26.19 kB / 1.383 GB, free: 8.812 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/1.269, allocations: 313.3 kB / 1.383 GB, free: 8.594 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.269, allocations: 3.938 kB / 1.383 GB, free: 8.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/1.269, allocations: 11.25 kB / 1.383 GB, free: 8.582 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/1.269, allocations: 6.906 kB / 1.383 GB, free: 8.582 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/1.27, allocations: 205 kB / 1.383 GB, free: 8.488 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/1.271, allocations: 1.537 MB / 1.385 GB, free: 7.031 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/1.272, allocations: 114.7 kB / 1.385 GB, free: 6.965 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/1.272, allocations: 91.2 kB / 1.385 GB, free: 6.918 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/1.272, allocations: 310.3 kB / 1.385 GB, free: 6.602 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/1.272, allocations: 35.66 kB / 1.385 GB, free: 6.559 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/1.272, allocations: 1.125 kB / 1.385 GB, free: 6.559 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0008014/1.273, allocations: 269.7 kB / 1.385 GB, free: 6.418 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/1.273, allocations: 52.62 kB / 1.385 GB, free: 6.355 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/1.274, allocations: 309.9 kB / 1.386 GB, free: 6.156 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/1.274, allocations: 30.8 kB / 1.386 GB, free: 6.121 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.274, allocations: 185.5 kB / 1.386 GB, free: 5.953 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/1.274, allocations: 40.95 kB / 1.386 GB, free: 5.918 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/1.274, allocations: 31.38 kB / 1.386 GB, free: 5.895 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.274, allocations: 341.4 kB / 1.386 GB, free: 5.559 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/1.274, allocations: 63.7 kB / 1.386 GB, free: 5.527 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/1.274, allocations: 117.7 kB / 1.386 GB, free: 5.438 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/1.275, allocations: 176.6 kB / 1.387 GB, free: 5.316 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.275, allocations: 3.938 kB / 1.387 GB, free: 5.312 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004636/1.275, allocations: 217.7 kB / 1.387 GB, free: 5.191 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.275, allocations: 5.812 kB / 1.387 GB, free: 5.191 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.275, allocations: 1.812 kB / 1.387 GB, free: 5.191 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.275, allocations: 1.906 kB / 1.387 GB, free: 5.191 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.275, allocations: 36.69 kB / 1.387 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.275, allocations: 3.688 kB / 1.387 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/1.276, allocations: 33.27 kB / 1.387 GB, free: 5.156 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/1.276, allocations: 7.188 kB / 1.387 GB, free: 5.156 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/1.276, allocations: 155.2 kB / 1.387 GB, free: 5.012 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/1.276, allocations: 24.78 kB / 1.387 GB, free: 5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/1.276, allocations: 220 kB / 1.387 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.276, allocations: 1.438 kB / 1.387 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.276, allocations: 0 / 1.387 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/1.277, allocations: 1.469 kB / 1.387 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/1.278, allocations: 0.6849 MB / 1.388 GB, free: 4.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.278, allocations: 2.375 kB / 1.388 GB, free: 4.285 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/1.278, allocations: 34.83 kB / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.278, allocations: 2.312 kB / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/1.278, allocations: 3.969 kB / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.278, allocations: 6.344 kB / 1.388 GB, free: 4.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.278, allocations: 6.078 kB / 1.388 GB, free: 4.266 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/1.278, allocations: 335.3 kB / 1.388 GB, free: 3.988 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/1.278, allocations: 118.8 kB / 1.388 GB, free: 3.867 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/1.278, allocations: 6.875 kB / 1.388 GB, free: 3.863 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.279, allocations: 14.09 kB / 1.388 GB, free: 3.855 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/1.279, allocations: 17.95 kB / 1.388 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.279, allocations: 4.5 kB / 1.388 GB, free: 3.844 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002336/1.279, allocations: 225.4 kB / 1.389 GB, free: 3.695 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.1e-07/1.279, allocations: 0 / 1.389 GB, free: 3.695 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004292/1.279, allocations: 70.81 kB / 1.389 GB, free: 3.684 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/1.28, allocations: 0.9313 MB / 1.39 GB, free: 2.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005045/1.281, allocations: 165.2 kB / 1.39 GB, free: 2.762 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.281, allocations: 0 / 1.39 GB, free: 2.762 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/1.281, allocations: 81.45 kB / 1.39 GB, free: 2.727 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.282, allocations: 159.3 kB / 1.39 GB, free: 2.648 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/1.287, allocations: 2.796 MB / 1.393 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/1.287, allocations: 0.7812 MB / 1.394 GB, free: 15.78 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002397/1.287, allocations: 58.19 kB / 1.394 GB, free: 15.76 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/1.288, allocations: 92.06 kB / 1.394 GB, free: 15.68 MB / 1.092 GB Notification: Performance of SimCode: time 7.82e-07/1.288, allocations: 4 kB / 1.394 GB, free: 15.68 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/1.314, allocations: 8.234 MB / 1.402 GB, free: 11.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/9.62, allocations: 12 kB / 1.402 GB, free: 11.56 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches