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.001268/0.001268, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001484/0.001484, allocations: 219.6 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.184/3.184, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 62.56 kB / 1.171 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3168, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1948/0.5117, allocations: 158.4 MB / 1.5 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.522, allocations: 7.196 MB / 1.507 GB, free: 9.688 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.5226, allocations: 27.75 kB / 1.507 GB, free: 9.66 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.5235, allocations: 250.2 kB / 1.507 GB, free: 9.414 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003965/0.5275, allocations: 1.229 MB / 1.509 GB, free: 8.18 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.5297, allocations: 0.7502 MB / 1.509 GB, free: 7.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.5314, allocations: 1.087 MB / 1.51 GB, free: 6.34 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006417/0.532, allocations: 333.8 kB / 1.511 GB, free: 6.008 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/0.5355, allocations: 1.008 MB / 1.512 GB, free: 5.008 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008431/0.5363, allocations: 450.3 kB / 1.512 GB, free: 4.566 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.344e-05/0.5364, allocations: 40 kB / 1.512 GB, free: 4.527 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.538, allocations: 0.7871 MB / 1.513 GB, free: 3.738 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.5382, allocations: 167.4 kB / 1.513 GB, free: 3.574 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.5385, allocations: 211.1 kB / 1.513 GB, free: 3.367 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.5402, allocations: 0.9148 MB / 1.514 GB, free: 2.449 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5402, allocations: 4 kB / 1.514 GB, free: 2.445 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5402, allocations: 0 / 1.514 GB, free: 2.445 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.5402, allocations: 0 / 1.514 GB, free: 2.445 MB / 1.201 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.001208/0.5414, allocations: 0.7498 MB / 1.515 GB, free: 1.664 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5414, allocations: 8.031 kB / 1.515 GB, free: 1.656 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.57e-05/0.5414, allocations: 16.94 kB / 1.515 GB, free: 1.641 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.217e-05/0.5415, allocations: 74.53 kB / 1.515 GB, free: 1.559 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009526/0.5425, allocations: 151.5 kB / 1.515 GB, free: 1.41 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.5431, allocations: 336.4 kB / 1.515 GB, free: 1.059 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.5431, allocations: 29 kB / 1.515 GB, free: 1.027 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.5432, allocations: 40 kB / 1.515 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.544, allocations: 446.4 kB / 1.516 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.544, allocations: 7.938 kB / 1.516 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.544, allocations: 16 kB / 1.516 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.544, allocations: 8 kB / 1.516 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.5447, allocations: 319.7 kB / 1.516 GB, free: 188 kB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.5467, allocations: 1.489 MB / 1.518 GB, free: 14.63 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.5472, allocations: 226.5 kB / 1.518 GB, free: 14.4 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.5474, allocations: 138.2 kB / 1.518 GB, free: 14.26 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/0.548, allocations: 75.91 kB / 1.518 GB, free: 14.19 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.548, allocations: 34.97 kB / 1.518 GB, free: 14.14 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.548, allocations: 0 / 1.518 GB, free: 14.14 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001081/0.5491, allocations: 462.1 kB / 1.519 GB, free: 13.69 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.5491, allocations: 59.39 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.5496, allocations: 397.9 kB / 1.519 GB, free: 13.21 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.5496, allocations: 29.7 kB / 1.519 GB, free: 13.18 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.5498, allocations: 240.5 kB / 1.519 GB, free: 12.94 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.5499, allocations: 83.28 kB / 1.519 GB, free: 12.86 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.55, allocations: 65.64 kB / 1.519 GB, free: 12.79 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5502, allocations: 354.7 kB / 1.52 GB, free: 12.43 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.5504, allocations: 111.9 kB / 1.52 GB, free: 12.32 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.5508, allocations: 255.9 kB / 1.52 GB, free: 12.03 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.5513, allocations: 312.8 kB / 1.52 GB, free: 11.7 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5513, allocations: 0 / 1.52 GB, free: 11.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006704/0.552, allocations: 363.8 kB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.552, allocations: 4.219 kB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.552, allocations: 8 kB / 1.521 GB, free: 11.33 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.552, allocations: 11.94 kB / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.5523, allocations: 59.91 kB / 1.521 GB, free: 11.26 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.5523, allocations: 4 kB / 1.521 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.5526, allocations: 39.72 kB / 1.521 GB, free: 11.21 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.5526, allocations: 8 kB / 1.521 GB, free: 11.21 MB / 1.217 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.0002085/0.5528, allocations: 173.7 kB / 1.521 GB, free: 11.03 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.5529, allocations: 43.72 kB / 1.521 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007301/0.5536, allocations: 373 kB / 1.521 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5536, allocations: 0 / 1.521 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5536, allocations: 4 kB / 1.521 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5536, allocations: 0 / 1.521 GB, free: 10.61 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.5551, allocations: 0.8796 MB / 1.522 GB, free: 9.664 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5551, allocations: 0 / 1.522 GB, free: 9.664 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.5554, allocations: 51.84 kB / 1.522 GB, free: 9.613 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.5554, allocations: 4 kB / 1.522 GB, free: 9.609 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.5554, allocations: 12 kB / 1.522 GB, free: 9.598 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.5554, allocations: 4 kB / 1.522 GB, free: 9.594 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5554, allocations: 0 / 1.522 GB, free: 9.594 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.5564, allocations: 0.6414 MB / 1.523 GB, free: 8.914 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.5565, allocations: 67.72 kB / 1.523 GB, free: 8.848 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.5566, allocations: 8 kB / 1.523 GB, free: 8.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.5568, allocations: 15.98 kB / 1.523 GB, free: 8.824 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.5569, allocations: 15.97 kB / 1.523 GB, free: 8.809 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.5569, allocations: 12 kB / 1.523 GB, free: 8.797 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003085/0.5572, allocations: 283.1 kB / 1.523 GB, free: 8.523 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5572, allocations: 0 / 1.523 GB, free: 8.523 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004706/0.5577, allocations: 119.8 kB / 1.523 GB, free: 8.406 MB / 1.217 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.001501/0.5592, allocations: 1.217 MB / 1.525 GB, free: 7.145 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006229/0.5598, allocations: 286.9 kB / 1.525 GB, free: 6.867 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5598, allocations: 4.062 kB / 1.525 GB, free: 6.863 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.5601, allocations: 143.8 kB / 1.525 GB, free: 6.723 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.5612, allocations: 216.5 kB / 1.525 GB, free: 6.516 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.5666, allocations: 3.788 MB / 1.529 GB, free: 2.555 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.5668, allocations: 224 kB / 1.529 GB, free: 2.312 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003566/0.5672, allocations: 103.4 kB / 1.529 GB, free: 2.211 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.5674, allocations: 139.4 kB / 1.529 GB, free: 2.074 MB / 1.217 GB Notification: Performance of SimCode: time 1.242e-06/0.5674, allocations: 0 / 1.529 GB, free: 2.074 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.606, allocations: 12.71 MB / 1.542 GB, free: 5.719 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.26, allocations: 11.48 kB / 1.542 GB, free: 5.711 MB / 1.232 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.83213495509699]