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.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.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.001786/0.001786, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002189/0.002189, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.753/1.753, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.552/4.552, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.78 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.6225, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3352/0.9578, allocations: 159.2 MB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.9704, allocations: 4.517 MB / 1.212 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.9716, allocations: 7.938 kB / 1.212 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.973, allocations: 95.36 kB / 1.212 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.9759, allocations: 318.7 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.9779, allocations: 254.9 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.9797, allocations: 0.5534 MB / 1.213 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007908/0.9805, allocations: 197.1 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.9825, allocations: 446.4 kB / 1.214 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.983, allocations: 203.2 kB / 1.214 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.9831, allocations: 16 kB / 1.214 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.9834, allocations: 79.92 kB / 1.214 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.9836, allocations: 95.72 kB / 1.214 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.9839, allocations: 115.4 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.9845, allocations: 287.1 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.742e-05/0.9846, allocations: 4 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.611e-06/0.9846, allocations: 3.938 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9846, allocations: 0 / 1.215 GB, free: 1.727 MB / 0.9669 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.001461/0.9861, allocations: 0.5334 MB / 1.215 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 8.292e-05/0.9862, allocations: 12.62 kB / 1.215 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.9863, allocations: 50.55 kB / 1.215 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.9864, allocations: 31.66 kB / 1.215 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/0.987, allocations: 271.4 kB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.9871, allocations: 16 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.9871, allocations: 19.94 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.9878, allocations: 269.6 kB / 1.216 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.9879, allocations: 7.875 kB / 1.216 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.9879, allocations: 12 kB / 1.216 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.9879, allocations: 4 kB / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.9885, allocations: 139.8 kB / 1.216 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.9918, allocations: 1.379 MB / 1.217 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.9924, allocations: 179.7 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.9928, allocations: 97.05 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000652/0.9934, allocations: 121 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.198e-05/0.9935, allocations: 42.44 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 4.779e-06/0.9935, allocations: 0 / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.001167/0.9947, allocations: 205.7 kB / 1.218 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002075/0.995, allocations: 187.9 kB / 1.218 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.9956, allocations: 290.9 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.9957, allocations: 29.7 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.9959, allocations: 143.9 kB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.996, allocations: 39.61 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.9961, allocations: 41.7 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003085/0.9964, allocations: 330.8 kB / 1.219 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.9967, allocations: 43.97 kB / 1.219 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.997, allocations: 117.9 kB / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.9974, allocations: 158.7 kB / 1.219 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9975, allocations: 0 / 1.219 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006016/0.9981, allocations: 189.3 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.9981, allocations: 9.547 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.9982, allocations: 12.28 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/0.9982, allocations: 4 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.9985, allocations: 27.98 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.9985, allocations: 3.938 kB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.9989, allocations: 31.77 kB / 1.22 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.9989, allocations: 8 kB / 1.22 GB, free: 12.27 MB / 0.9825 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.0003327/0.9993, allocations: 145.8 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.9995, allocations: 35.56 kB / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/1, allocations: 131 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1, allocations: 4 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1, allocations: 0 / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1, allocations: 4 kB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.002, allocations: 0.773 MB / 1.221 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.002, allocations: 4 kB / 1.221 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/1.002, allocations: 31.86 kB / 1.221 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.002, allocations: 0 / 1.221 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/1.002, allocations: 4 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.937e-05/1.002, allocations: 4 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.002, allocations: 0 / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/1.003, allocations: 339.5 kB / 1.221 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/1.003, allocations: 112.8 kB / 1.221 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/1.003, allocations: 7.984 kB / 1.221 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/1.004, allocations: 4 kB / 1.221 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/1.004, allocations: 19.86 kB / 1.221 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/1.004, allocations: 8.062 kB / 1.221 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003496/1.004, allocations: 209.9 kB / 1.221 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/1.004, allocations: 0 / 1.221 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007072/1.005, allocations: 56.06 kB / 1.222 GB, free: 10.26 MB / 0.9825 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.002289/1.007, allocations: 0.9051 MB / 1.222 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005695/1.008, allocations: 132.2 kB / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.008, allocations: 0 / 1.223 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/1.008, allocations: 63.84 kB / 1.223 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.009, allocations: 135.2 kB / 1.223 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/1.016, allocations: 2.667 MB / 1.225 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/1.017, allocations: 0.7595 MB / 1.226 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003329/1.017, allocations: 46.27 kB / 1.226 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/1.017, allocations: 71.41 kB / 1.226 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of SimCode: time 2.044e-06/1.017, allocations: 0 / 1.226 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3302/1.348, allocations: 6.651 MB / 1.233 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004999/1.348, allocations: 250.8 kB / 1.233 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.555/5.904, allocations: 3.938 kB / 1.233 GB, free: 14.55 MB / 0.9981 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