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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008523/0.0008522, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005962/0.005962, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 443.3 MB / 0.7176 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 11.53 kB / 0.8797 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2361, allocations: 155.2 MB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1439/0.38, allocations: 157.1 MB / 1.185 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004361/0.3844, allocations: 4.487 MB / 1.189 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3845, allocations: 7.938 kB / 1.189 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.3848, allocations: 99.36 kB / 1.189 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.3855, allocations: 310.7 kB / 1.189 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.386, allocations: 254.6 kB / 1.19 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006917/0.3867, allocations: 0.7952 MB / 1.19 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.387, allocations: 161.5 kB / 1.191 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009394/0.3879, allocations: 418.4 kB / 1.191 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.3882, allocations: 203.2 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.3882, allocations: 11.94 kB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3884, allocations: 63.94 kB / 1.191 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.3885, allocations: 83.72 kB / 1.191 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3886, allocations: 137.1 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.3889, allocations: 279 kB / 1.192 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3889, allocations: 0 / 1.192 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3889, allocations: 0 / 1.192 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3889, allocations: 0 / 1.192 GB, free: 15.28 MB / 0.9512 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.0006384/0.3896, allocations: 0.4945 MB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3896, allocations: 12.03 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.3897, allocations: 54.55 kB / 1.192 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.3897, allocations: 31.56 kB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.39, allocations: 271.4 kB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3901, allocations: 15.94 kB / 1.193 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.3901, allocations: 16 kB / 1.193 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3905, allocations: 269.9 kB / 1.193 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3905, allocations: 7.938 kB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.3905, allocations: 11.92 kB / 1.193 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.3906, allocations: 4 kB / 1.193 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.3909, allocations: 163.8 kB / 1.193 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3921, allocations: 1.379 MB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.3924, allocations: 199.6 kB / 1.195 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.3926, allocations: 93.11 kB / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.3929, allocations: 137 kB / 1.195 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.393, allocations: 42.5 kB / 1.195 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.393, allocations: 0 / 1.195 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.000562/0.3936, allocations: 225.8 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.3936, allocations: 183.9 kB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.3939, allocations: 287 kB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3939, allocations: 29.7 kB / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.394, allocations: 143.9 kB / 1.196 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3941, allocations: 39.45 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.3941, allocations: 17.72 kB / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3942, allocations: 334.8 kB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3944, allocations: 59.89 kB / 1.196 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3945, allocations: 116.2 kB / 1.196 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.3948, allocations: 166.7 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3948, allocations: 0 / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003686/0.3952, allocations: 201.2 kB / 1.197 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3952, allocations: 8 kB / 1.197 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3952, allocations: 0 / 1.197 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3953, allocations: 4.219 kB / 1.197 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3954, allocations: 39.91 kB / 1.197 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3954, allocations: 4 kB / 1.197 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3956, allocations: 39.67 kB / 1.197 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.3956, allocations: 4 kB / 1.197 GB, free: 9.773 MB / 0.9512 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.0001201/0.3957, allocations: 149.8 kB / 1.197 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3958, allocations: 31.66 kB / 1.197 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.3962, allocations: 143 kB / 1.197 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3962, allocations: 0 / 1.197 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3962, allocations: 4.375 kB / 1.197 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3962, allocations: 0 / 1.197 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.397, allocations: 0.7769 MB / 1.198 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.397, allocations: 7.922 kB / 1.198 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.3971, allocations: 27.98 kB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.3971, allocations: 8.156 kB / 1.198 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3971, allocations: 4 kB / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3971, allocations: 7.875 kB / 1.198 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3971, allocations: 0 / 1.198 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.3976, allocations: 351.4 kB / 1.198 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.3977, allocations: 112.8 kB / 1.198 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.3978, allocations: 8.062 kB / 1.198 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3979, allocations: 11.98 kB / 1.198 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.398, allocations: 15.92 kB / 1.198 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.398, allocations: 4 kB / 1.198 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001811/0.3982, allocations: 209.9 kB / 1.198 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.392e-06/0.3982, allocations: 0 / 1.198 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002966/0.3985, allocations: 55.94 kB / 1.198 GB, free: 7.727 MB / 0.9512 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.0008769/0.3994, allocations: 0.9235 MB / 1.199 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.3997, allocations: 128 kB / 1.2 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3997, allocations: 4.375 kB / 1.2 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3998, allocations: 67.89 kB / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.4006, allocations: 129.2 kB / 1.2 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.4034, allocations: 2.717 MB / 1.202 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.4037, allocations: 0.7596 MB / 1.203 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000128/0.4039, allocations: 50.27 kB / 1.203 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.207e-05/0.404, allocations: 67.41 kB / 1.203 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.404, allocations: 0 / 1.203 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.721/2.125, allocations: 6.367 MB / 1.209 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/2.125, allocations: 247.8 kB / 1.21 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/4.621, allocations: 4 kB / 1.21 GB, free: 12.24 MB / 0.9669 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=50 --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