Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008507/0.0008507, allocations: 72.45 kB / 19.17 MB, free: 0.7148 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.0009363/0.0009363, allocations: 169.9 kB / 22.46 MB, free: 2.07 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.8811/0.8811, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.666/1.666, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.82e-05, allocations: 6.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5455/0.5455, allocations: 158.4 MB / 1.136 GB, free: 6.121 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005855/0.5514, allocations: 7.175 MB / 1.143 GB, free: 1.305 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.5519, allocations: 29.12 kB / 1.143 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.5524, allocations: 257.6 kB / 1.143 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.5548, allocations: 1.249 MB / 1.144 GB, free: 472 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.5563, allocations: 0.7961 MB / 1.145 GB, free: 76 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.5574, allocations: 1.067 MB / 1.146 GB, free: 15.58 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.5578, allocations: 321.9 kB / 1.146 GB, free: 15.43 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.5601, allocations: 1.164 MB / 1.147 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.5606, allocations: 389.8 kB / 1.148 GB, free: 14.82 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.5606, allocations: 37.62 kB / 1.148 GB, free: 14.82 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.5618, allocations: 0.7925 MB / 1.149 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.562, allocations: 171.7 kB / 1.149 GB, free: 14.44 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.5621, allocations: 174.6 kB / 1.149 GB, free: 14.37 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.5634, allocations: 0.9525 MB / 1.15 GB, free: 14.04 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5634, allocations: 4.656 kB / 1.15 GB, free: 14.04 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5634, allocations: 0 / 1.15 GB, free: 14.04 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.5634, allocations: 0 / 1.15 GB, free: 14.04 MB / 1.01 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.0009195/0.5644, allocations: 0.7433 MB / 1.151 GB, free: 13.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5644, allocations: 9.594 kB / 1.151 GB, free: 13.5 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.5645, allocations: 79.91 kB / 1.151 GB, free: 13.43 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/0.565, allocations: 153.3 kB / 1.151 GB, free: 13.39 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.5655, allocations: 343 kB / 1.151 GB, free: 13.15 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.5655, allocations: 29.66 kB / 1.151 GB, free: 13.14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.5656, allocations: 46.19 kB / 1.151 GB, free: 13.12 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.5661, allocations: 444.1 kB / 1.152 GB, free: 12.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5661, allocations: 5.219 kB / 1.152 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.5661, allocations: 14.66 kB / 1.152 GB, free: 12.88 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.5661, allocations: 10.77 kB / 1.152 GB, free: 12.88 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.5665, allocations: 323.4 kB / 1.152 GB, free: 12.78 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.5679, allocations: 1.479 MB / 1.153 GB, free: 11.73 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.5682, allocations: 231.5 kB / 1.154 GB, free: 11.62 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.5684, allocations: 139.1 kB / 1.154 GB, free: 11.57 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.5687, allocations: 75.69 kB / 1.154 GB, free: 11.57 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5687, allocations: 38.84 kB / 1.154 GB, free: 11.53 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.5687, allocations: 5.219 kB / 1.154 GB, free: 11.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0007134/0.5694, allocations: 455 kB / 1.154 GB, free: 11.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.5695, allocations: 54.52 kB / 1.154 GB, free: 11.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.5698, allocations: 405.2 kB / 1.155 GB, free: 11.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.5698, allocations: 27.86 kB / 1.155 GB, free: 11.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.57, allocations: 233 kB / 1.155 GB, free: 10.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.57, allocations: 91.98 kB / 1.155 GB, free: 10.8 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.5701, allocations: 60.77 kB / 1.155 GB, free: 10.76 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5702, allocations: 350.1 kB / 1.156 GB, free: 10.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.5703, allocations: 109.7 kB / 1.156 GB, free: 10.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.5706, allocations: 261.5 kB / 1.156 GB, free: 10.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.5709, allocations: 311.4 kB / 1.156 GB, free: 10.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5709, allocations: 1.094 kB / 1.156 GB, free: 10.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004228/0.5713, allocations: 369.6 kB / 1.157 GB, free: 9.887 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5713, allocations: 10.97 kB / 1.157 GB, free: 9.883 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5713, allocations: 2.344 kB / 1.157 GB, free: 9.883 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5714, allocations: 3.641 kB / 1.157 GB, free: 9.883 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.5715, allocations: 56.89 kB / 1.157 GB, free: 9.879 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5715, allocations: 7.344 kB / 1.157 GB, free: 9.875 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.5717, allocations: 35.83 kB / 1.157 GB, free: 9.855 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.5717, allocations: 15.58 kB / 1.157 GB, free: 9.852 MB / 1.01 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.0001256/0.5718, allocations: 166.9 kB / 1.157 GB, free: 9.707 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.5719, allocations: 47.08 kB / 1.157 GB, free: 9.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.5723, allocations: 370.3 kB / 1.157 GB, free: 9.523 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5723, allocations: 2.781 kB / 1.157 GB, free: 9.523 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5723, allocations: 2.578 kB / 1.157 GB, free: 9.523 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.5723, allocations: 2.547 kB / 1.157 GB, free: 9.523 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009719/0.5733, allocations: 0.8749 MB / 1.158 GB, free: 9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5733, allocations: 5.188 kB / 1.158 GB, free: 8.996 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.5735, allocations: 47.88 kB / 1.158 GB, free: 8.992 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.5735, allocations: 3.375 kB / 1.158 GB, free: 8.992 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.5735, allocations: 8.594 kB / 1.158 GB, free: 8.988 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5735, allocations: 3.531 kB / 1.158 GB, free: 8.988 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5735, allocations: 10.25 kB / 1.158 GB, free: 8.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.5741, allocations: 0.6237 MB / 1.159 GB, free: 8.625 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.5742, allocations: 78.97 kB / 1.159 GB, free: 8.582 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.5743, allocations: 3.266 kB / 1.159 GB, free: 8.582 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5744, allocations: 16.92 kB / 1.159 GB, free: 8.574 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.5744, allocations: 19.69 kB / 1.159 GB, free: 8.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5744, allocations: 8.438 kB / 1.159 GB, free: 8.57 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002189/0.5747, allocations: 283.1 kB / 1.159 GB, free: 8.434 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5747, allocations: 0 / 1.159 GB, free: 8.434 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003525/0.575, allocations: 116 kB / 1.159 GB, free: 8.41 MB / 1.01 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.0009826/0.576, allocations: 1.225 MB / 1.16 GB, free: 7.504 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.5764, allocations: 279.7 kB / 1.161 GB, free: 7.422 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5764, allocations: 1.188 kB / 1.161 GB, free: 7.422 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.5765, allocations: 143.1 kB / 1.161 GB, free: 7.379 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/0.5772, allocations: 216.5 kB / 1.161 GB, free: 7.324 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.5806, allocations: 3.796 MB / 1.165 GB, free: 5.027 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.5808, allocations: 223.5 kB / 1.165 GB, free: 4.934 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.581, allocations: 101.7 kB / 1.165 GB, free: 4.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.5812, allocations: 143.6 kB / 1.165 GB, free: 4.809 MB / 1.01 GB Notification: Performance of SimCode: time 6.61e-07/0.5812, allocations: 0 / 1.165 GB, free: 4.809 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.6103, allocations: 13.16 MB / 1.178 GB, free: 2.73 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/7.36, allocations: 24.78 kB / 1.178 GB, free: 2.715 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.302471635863185]