Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.002379/0.002379, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 193 kB / 16.67 MB, free: 6.582 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.517/2.517, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 72.11 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2563, allocations: 162.3 MB / 1.242 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6156/0.8719, allocations: 161.4 MB / 1.399 GB, free: 12.92 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005016/0.8769, allocations: 4.561 MB / 1.404 GB, free: 9.23 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.8772, allocations: 14.38 kB / 1.404 GB, free: 9.223 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.8776, allocations: 120.5 kB / 1.404 GB, free: 9.117 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0006976/0.8783, allocations: 324.7 kB / 1.404 GB, free: 8.871 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.879, allocations: 282.2 kB / 1.405 GB, free: 8.668 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.8795, allocations: 0.5529 MB / 1.405 GB, free: 8.352 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.8798, allocations: 199.9 kB / 1.405 GB, free: 8.238 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.8809, allocations: 0.6507 MB / 1.406 GB, free: 7.812 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.8811, allocations: 193.5 kB / 1.406 GB, free: 7.699 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.8812, allocations: 19.91 kB / 1.406 GB, free: 7.695 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.8813, allocations: 80.58 kB / 1.406 GB, free: 7.664 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.8814, allocations: 80.03 kB / 1.406 GB, free: 7.613 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.8815, allocations: 119.8 kB / 1.406 GB, free: 7.539 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.8819, allocations: 296.1 kB / 1.407 GB, free: 7.352 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.8819, allocations: 0 / 1.407 GB, free: 7.352 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8819, allocations: 5.047 kB / 1.407 GB, free: 7.348 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8819, allocations: 0 / 1.407 GB, free: 7.348 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007111/0.8826, allocations: 0.5438 MB / 1.407 GB, free: 6.836 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.8827, allocations: 12.97 kB / 1.407 GB, free: 6.832 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.8827, allocations: 49.45 kB / 1.407 GB, free: 6.781 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.8828, allocations: 33.38 kB / 1.407 GB, free: 6.762 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.8831, allocations: 285.8 kB / 1.408 GB, free: 6.488 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8832, allocations: 20.78 kB / 1.408 GB, free: 6.477 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.8832, allocations: 19.75 kB / 1.408 GB, free: 6.469 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.8836, allocations: 270 kB / 1.408 GB, free: 6.25 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.8836, allocations: 1.25 kB / 1.408 GB, free: 6.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.8836, allocations: 10.84 kB / 1.408 GB, free: 6.242 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.8837, allocations: 4.312 kB / 1.408 GB, free: 6.242 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.884, allocations: 152.8 kB / 1.408 GB, free: 6.168 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.8852, allocations: 1.37 MB / 1.409 GB, free: 4.855 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.8854, allocations: 176.3 kB / 1.41 GB, free: 4.672 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.8856, allocations: 94.73 kB / 1.41 GB, free: 4.598 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.8859, allocations: 127.2 kB / 1.41 GB, free: 4.477 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.886, allocations: 42.19 kB / 1.41 GB, free: 4.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.886, allocations: 0 / 1.41 GB, free: 4.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0005446/0.8865, allocations: 214.5 kB / 1.41 GB, free: 4.305 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.8866, allocations: 182.1 kB / 1.41 GB, free: 4.086 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.8869, allocations: 289.2 kB / 1.41 GB, free: 3.895 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.8869, allocations: 28.17 kB / 1.411 GB, free: 3.863 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.887, allocations: 147.9 kB / 1.411 GB, free: 3.727 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.887, allocations: 40.67 kB / 1.411 GB, free: 3.691 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.8871, allocations: 34.73 kB / 1.411 GB, free: 3.664 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8872, allocations: 333 kB / 1.411 GB, free: 3.336 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.8874, allocations: 51.95 kB / 1.411 GB, free: 3.309 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.8875, allocations: 118.8 kB / 1.411 GB, free: 3.203 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.8878, allocations: 153.8 kB / 1.411 GB, free: 3.086 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8878, allocations: 0 / 1.411 GB, free: 3.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003386/0.8882, allocations: 186.7 kB / 1.412 GB, free: 2.98 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.8882, allocations: 14.22 kB / 1.412 GB, free: 2.973 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8882, allocations: 1.375 kB / 1.412 GB, free: 2.973 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.8882, allocations: 3.312 kB / 1.412 GB, free: 2.973 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.8883, allocations: 35.77 kB / 1.412 GB, free: 2.961 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8884, allocations: 6.547 kB / 1.412 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.8885, allocations: 22.44 kB / 1.412 GB, free: 2.945 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.8885, allocations: 16.67 kB / 1.412 GB, free: 2.938 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001165/0.8886, allocations: 146.9 kB / 1.412 GB, free: 2.801 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.8888, allocations: 28.42 kB / 1.412 GB, free: 2.785 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.8891, allocations: 126.1 kB / 1.412 GB, free: 2.699 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.8891, allocations: 2.156 kB / 1.412 GB, free: 2.699 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8891, allocations: 2.188 kB / 1.412 GB, free: 2.699 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8891, allocations: 6.016 kB / 1.412 GB, free: 2.695 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007667/0.8899, allocations: 0.7796 MB / 1.413 GB, free: 1.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8899, allocations: 1.031 kB / 1.413 GB, free: 1.926 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.89, allocations: 25.67 kB / 1.413 GB, free: 1.918 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.89, allocations: 6.5 kB / 1.413 GB, free: 1.914 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.89, allocations: 2.219 kB / 1.413 GB, free: 1.914 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.89, allocations: 6.359 kB / 1.413 GB, free: 1.91 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.89, allocations: 6.656 kB / 1.413 GB, free: 1.906 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.8905, allocations: 345.5 kB / 1.413 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.8906, allocations: 108 kB / 1.413 GB, free: 1.52 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.8906, allocations: 2.156 kB / 1.413 GB, free: 1.52 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.8908, allocations: 15.05 kB / 1.413 GB, free: 1.512 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.8908, allocations: 8.281 kB / 1.413 GB, free: 1.508 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.8908, allocations: 4.375 kB / 1.413 GB, free: 1.508 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001813/0.891, allocations: 208.8 kB / 1.413 GB, free: 1.371 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.891, allocations: 1.188 kB / 1.413 GB, free: 1.371 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002853/0.8913, allocations: 65.78 kB / 1.413 GB, free: 1.352 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0008925/0.8922, allocations: 0.91 MB / 1.414 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.8925, allocations: 124.3 kB / 1.414 GB, free: 492 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8925, allocations: 1 kB / 1.414 GB, free: 492 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.8927, allocations: 61.12 kB / 1.415 GB, free: 464 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.8933, allocations: 138.8 kB / 1.415 GB, free: 396 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.8961, allocations: 2.602 MB / 1.417 GB, free: 14.34 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.8964, allocations: 0.7627 MB / 1.418 GB, free: 13.6 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.8965, allocations: 59.27 kB / 1.418 GB, free: 13.57 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.8966, allocations: 65.2 kB / 1.418 GB, free: 13.52 MB / 1.123 GB Notification: Performance of SimCode: time 2.21e-07/0.8966, allocations: 3.938 kB / 1.418 GB, free: 13.52 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.871/4.768, allocations: 6.881 MB / 1.425 GB, free: 10.08 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/15, allocations: 2.5 kB / 1.425 GB, free: 10.08 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches