Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008396/0.0008396, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8335/0.8335, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.694/1.694, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.96e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5559/0.5559, allocations: 158.4 MB / 1.154 GB, free: 0.5742 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.006371/0.5623, allocations: 7.16 MB / 1.161 GB, free: 11.77 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005185/0.5628, allocations: 24.62 kB / 1.161 GB, free: 11.75 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.5634, allocations: 254.8 kB / 1.162 GB, free: 11.59 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.566, allocations: 1.255 MB / 1.163 GB, free: 10.92 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.5676, allocations: 0.7908 MB / 1.164 GB, free: 10.54 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.5687, allocations: 1.04 MB / 1.165 GB, free: 10.05 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.5691, allocations: 312.9 kB / 1.165 GB, free: 9.922 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.5712, allocations: 1.153 MB / 1.166 GB, free: 9.434 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.5717, allocations: 393.9 kB / 1.166 GB, free: 9.312 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.5717, allocations: 36.69 kB / 1.166 GB, free: 9.312 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.573, allocations: 0.793 MB / 1.167 GB, free: 9.02 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.5731, allocations: 172.1 kB / 1.167 GB, free: 8.938 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.5732, allocations: 169.8 kB / 1.168 GB, free: 8.871 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.5744, allocations: 0.9526 MB / 1.168 GB, free: 8.543 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5744, allocations: 0 / 1.168 GB, free: 8.543 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5744, allocations: 0 / 1.168 GB, free: 8.543 MB / 1.026 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.5744, allocations: 0 / 1.168 GB, free: 8.543 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008856/0.5753, allocations: 0.7331 MB / 1.169 GB, free: 8 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5753, allocations: 14.12 kB / 1.169 GB, free: 7.996 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.415e-05/0.5754, allocations: 71.52 kB / 1.169 GB, free: 7.938 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.5759, allocations: 158.2 kB / 1.169 GB, free: 7.895 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.5763, allocations: 339.4 kB / 1.17 GB, free: 7.645 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.5764, allocations: 32.66 kB / 1.17 GB, free: 7.633 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.5764, allocations: 36.78 kB / 1.17 GB, free: 7.621 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.5769, allocations: 448 kB / 1.17 GB, free: 7.402 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5769, allocations: 0 / 1.17 GB, free: 7.402 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.577, allocations: 15.88 kB / 1.17 GB, free: 7.391 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.577, allocations: 10.31 kB / 1.17 GB, free: 7.391 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.5774, allocations: 327.1 kB / 1.171 GB, free: 7.281 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.5788, allocations: 1.486 MB / 1.172 GB, free: 6.223 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.579, allocations: 227.5 kB / 1.172 GB, free: 6.125 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.5792, allocations: 136.8 kB / 1.172 GB, free: 6.078 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.5795, allocations: 81.38 kB / 1.172 GB, free: 6.07 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.5795, allocations: 37.12 kB / 1.173 GB, free: 6.027 MB / 1.026 GB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.5795, allocations: 0 / 1.173 GB, free: 6.027 MB / 1.026 GB Notification: Performance of matching and sorting (n=24): time 0.0006643/0.5802, allocations: 454.1 kB / 1.173 GB, free: 5.863 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.5802, allocations: 63.06 kB / 1.173 GB, free: 5.793 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.5805, allocations: 389.8 kB / 1.173 GB, free: 5.602 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.5805, allocations: 31.14 kB / 1.173 GB, free: 5.566 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.5806, allocations: 233 kB / 1.174 GB, free: 5.375 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.5807, allocations: 88.77 kB / 1.174 GB, free: 5.305 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.5807, allocations: 53.52 kB / 1.174 GB, free: 5.273 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.5808, allocations: 347.8 kB / 1.174 GB, free: 4.945 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.581, allocations: 114.1 kB / 1.174 GB, free: 4.91 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.5812, allocations: 259 kB / 1.174 GB, free: 4.715 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.5815, allocations: 305.3 kB / 1.175 GB, free: 4.555 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5815, allocations: 2.125 kB / 1.175 GB, free: 4.555 MB / 1.026 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004075/0.5819, allocations: 372.1 kB / 1.175 GB, free: 4.398 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.582, allocations: 11.83 kB / 1.175 GB, free: 4.395 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.582, allocations: 1.719 kB / 1.175 GB, free: 4.395 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.582, allocations: 4.812 kB / 1.175 GB, free: 4.395 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.5821, allocations: 64.38 kB / 1.175 GB, free: 4.383 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5821, allocations: 3.922 kB / 1.175 GB, free: 4.383 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.5823, allocations: 47.16 kB / 1.175 GB, free: 4.352 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.5823, allocations: 14.92 kB / 1.175 GB, free: 4.352 MB / 1.026 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 (31): * Single equations (assignments): 31 * 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.0001216/0.5824, allocations: 163.3 kB / 1.175 GB, free: 4.211 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.5825, allocations: 46.73 kB / 1.175 GB, free: 4.184 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.5829, allocations: 362.5 kB / 1.176 GB, free: 4.039 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5829, allocations: 2.781 kB / 1.176 GB, free: 4.039 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5829, allocations: 1.531 kB / 1.176 GB, free: 4.039 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5829, allocations: 1.078 kB / 1.176 GB, free: 4.039 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009403/0.5839, allocations: 0.8787 MB / 1.177 GB, free: 3.508 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5839, allocations: 1.875 kB / 1.177 GB, free: 3.508 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.584, allocations: 48.48 kB / 1.177 GB, free: 3.504 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.584, allocations: 4.5 kB / 1.177 GB, free: 3.504 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.584, allocations: 8.844 kB / 1.177 GB, free: 3.5 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.584, allocations: 7.406 kB / 1.177 GB, free: 3.496 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.584, allocations: 6.531 kB / 1.177 GB, free: 3.492 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.5846, allocations: 0.6298 MB / 1.177 GB, free: 3.133 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.5847, allocations: 69.92 kB / 1.177 GB, free: 3.098 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.5848, allocations: 8.75 kB / 1.177 GB, free: 3.094 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5849, allocations: 11.78 kB / 1.177 GB, free: 3.09 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.5849, allocations: 24.78 kB / 1.177 GB, free: 3.082 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.5849, allocations: 13.33 kB / 1.177 GB, free: 3.078 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001939/0.5851, allocations: 276 kB / 1.178 GB, free: 2.945 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5851, allocations: 0 / 1.178 GB, free: 2.945 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003228/0.5854, allocations: 114.7 kB / 1.178 GB, free: 2.922 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0009616/0.5864, allocations: 1.224 MB / 1.179 GB, free: 2.008 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.5868, allocations: 277.4 kB / 1.179 GB, free: 1.93 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.5868, allocations: 1.344 kB / 1.179 GB, free: 1.93 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.587, allocations: 140.1 kB / 1.179 GB, free: 1.891 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.5876, allocations: 217.6 kB / 1.18 GB, free: 1.828 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.591, allocations: 3.768 MB / 1.183 GB, free: 15.55 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.5912, allocations: 221.6 kB / 1.184 GB, free: 15.45 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0002348/0.5914, allocations: 100.9 kB / 1.184 GB, free: 15.43 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.5916, allocations: 137.8 kB / 1.184 GB, free: 15.33 MB / 1.042 GB Notification: Performance of SimCode: time 5.61e-07/0.5916, allocations: 1.5 kB / 1.184 GB, free: 15.33 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.6175, allocations: 12.94 MB / 1.196 GB, free: 11.27 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/7.25, allocations: 11.59 kB / 1.196 GB, free: 11.26 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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: 11.113405744545162]