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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 111.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.122/3.122, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 69.52 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3452, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1866/0.5318, allocations: 161.9 MB / 1.462 GB, free: 15.05 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007344/0.5392, allocations: 4.572 MB / 1.467 GB, free: 10.47 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.5398, allocations: 11.94 kB / 1.467 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.5405, allocations: 131 kB / 1.467 GB, free: 10.33 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.5421, allocations: 342.4 kB / 1.467 GB, free: 9.992 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.5435, allocations: 286.7 kB / 1.467 GB, free: 9.715 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.5445, allocations: 0.5573 MB / 1.468 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.5449, allocations: 173.2 kB / 1.468 GB, free: 8.984 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.547, allocations: 0.6694 MB / 1.469 GB, free: 8.312 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005059/0.5475, allocations: 199.2 kB / 1.469 GB, free: 8.117 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.343e-05/0.5476, allocations: 16 kB / 1.469 GB, free: 8.102 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.5479, allocations: 91.91 kB / 1.469 GB, free: 8.012 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.5481, allocations: 83.73 kB / 1.469 GB, free: 7.93 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.5483, allocations: 119.4 kB / 1.469 GB, free: 7.812 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006444/0.549, allocations: 302.8 kB / 1.469 GB, free: 7.516 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.549, allocations: 0 / 1.469 GB, free: 7.516 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.894e-06/0.549, allocations: 4 kB / 1.469 GB, free: 7.512 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.549, allocations: 0 / 1.469 GB, free: 7.512 MB / 1.17 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.001109/0.5501, allocations: 0.5409 MB / 1.47 GB, free: 6.922 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.5502, allocations: 12.92 kB / 1.47 GB, free: 6.91 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.5502, allocations: 46.55 kB / 1.47 GB, free: 6.855 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.185e-05/0.5503, allocations: 31.8 kB / 1.47 GB, free: 6.824 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.5508, allocations: 283.6 kB / 1.47 GB, free: 6.508 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.5508, allocations: 19.78 kB / 1.47 GB, free: 6.488 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.5509, allocations: 16 kB / 1.47 GB, free: 6.473 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.5514, allocations: 269.8 kB / 1.471 GB, free: 6.172 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5514, allocations: 7.938 kB / 1.471 GB, free: 6.164 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.5514, allocations: 4 kB / 1.471 GB, free: 6.16 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.5514, allocations: 7.984 kB / 1.471 GB, free: 6.152 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.5518, allocations: 150 kB / 1.471 GB, free: 6.008 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.5534, allocations: 1.371 MB / 1.472 GB, free: 4.547 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.5538, allocations: 179.7 kB / 1.472 GB, free: 4.316 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.554, allocations: 93.11 kB / 1.472 GB, free: 4.207 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/0.5544, allocations: 117 kB / 1.472 GB, free: 4.074 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.5544, allocations: 42.44 kB / 1.472 GB, free: 4.023 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.5544, allocations: 4 kB / 1.473 GB, free: 4.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006598/0.5551, allocations: 201.3 kB / 1.473 GB, free: 3.816 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.5552, allocations: 188.5 kB / 1.473 GB, free: 3.59 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.5555, allocations: 295 kB / 1.473 GB, free: 3.289 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.5555, allocations: 29.7 kB / 1.473 GB, free: 3.254 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.5557, allocations: 144 kB / 1.473 GB, free: 3.109 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.5557, allocations: 43.75 kB / 1.473 GB, free: 3.066 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.5558, allocations: 41.66 kB / 1.473 GB, free: 3.02 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5559, allocations: 334.8 kB / 1.474 GB, free: 2.684 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.556, allocations: 51.91 kB / 1.474 GB, free: 2.633 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.5563, allocations: 113.8 kB / 1.474 GB, free: 2.496 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.5566, allocations: 158.7 kB / 1.474 GB, free: 2.316 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5566, allocations: 0 / 1.474 GB, free: 2.316 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003912/0.5569, allocations: 193.5 kB / 1.474 GB, free: 2.121 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.557, allocations: 11.98 kB / 1.474 GB, free: 2.109 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.557, allocations: 48 / 1.474 GB, free: 2.109 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.557, allocations: 7.984 kB / 1.474 GB, free: 2.102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.5571, allocations: 31.98 kB / 1.474 GB, free: 2.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.5571, allocations: 3.938 kB / 1.474 GB, free: 2.066 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.5573, allocations: 35.77 kB / 1.474 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.5574, allocations: 12.22 kB / 1.474 GB, free: 2.02 MB / 1.17 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.00014/0.5575, allocations: 141.8 kB / 1.474 GB, free: 1.871 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5576, allocations: 31.78 kB / 1.474 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.558, allocations: 131 kB / 1.475 GB, free: 1.699 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.558, allocations: 0 / 1.475 GB, free: 1.699 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.558, allocations: 4 kB / 1.475 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.558, allocations: 0 / 1.475 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009543/0.5589, allocations: 0.7691 MB / 1.475 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.559, allocations: 0 / 1.475 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.5591, allocations: 27.92 kB / 1.475 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.5591, allocations: 0 / 1.475 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.5591, allocations: 12.16 kB / 1.475 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5591, allocations: 0 / 1.475 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5591, allocations: 4 kB / 1.475 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.5597, allocations: 339.4 kB / 1.476 GB, free: 456 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.5598, allocations: 113 kB / 1.476 GB, free: 324 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.5599, allocations: 4 kB / 1.476 GB, free: 320 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.56, allocations: 7.984 kB / 1.476 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.5601, allocations: 19.86 kB / 1.476 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5601, allocations: 4.125 kB / 1.476 GB, free: 288 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00023/0.5603, allocations: 213.9 kB / 1.476 GB, free: 72 kB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5603, allocations: 0 / 1.476 GB, free: 72 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003865/0.5607, allocations: 55.88 kB / 1.476 GB, free: 16 kB / 1.17 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.001146/0.5619, allocations: 0.9216 MB / 1.477 GB, free: 15.06 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.5622, allocations: 119.9 kB / 1.477 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5622, allocations: 0 / 1.477 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.5624, allocations: 59.89 kB / 1.477 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.5631, allocations: 133.7 kB / 1.477 GB, free: 14.76 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/0.5667, allocations: 2.61 MB / 1.48 GB, free: 12 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.5671, allocations: 0.7557 MB / 1.481 GB, free: 11.22 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.5672, allocations: 54.23 kB / 1.481 GB, free: 11.17 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5673, allocations: 75.34 kB / 1.481 GB, free: 11.09 MB / 1.186 GB Notification: Performance of SimCode: time 6.01e-07/0.5673, allocations: 0 / 1.481 GB, free: 11.09 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.6013, allocations: 6.912 MB / 1.487 GB, free: 4.344 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/9.039, allocations: 9.016 kB / 1.487 GB, free: 4.34 MB / 1.186 GB " [Timeout remaining time 291] (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 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.493907717056572]