Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.000874/0.000874, 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.001945/0.001945, 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.8673/0.8673, 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 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.671/1.671, allocations: 377.8 MB / 0.6221 GB, free: 8.676 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.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.981 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.287e-05, allocations: 2.281 kB / 0.981 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5929/0.593, allocations: 147.8 MB / 1.125 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.5978, allocations: 5.985 MB / 1.131 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.598, allocations: 20.28 kB / 1.131 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.5984, allocations: 173.2 kB / 1.131 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.5998, allocations: 0.8632 MB / 1.132 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.6005, allocations: 378.9 kB / 1.132 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000581/0.601, allocations: 0.707 MB / 1.133 GB, free: 9.762 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.6013, allocations: 216.6 kB / 1.133 GB, free: 9.613 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.6023, allocations: 0.8204 MB / 1.134 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.6026, allocations: 238.1 kB / 1.134 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.6026, allocations: 21.69 kB / 1.134 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.603, allocations: 289.4 kB / 1.135 GB, free: 8.812 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.6031, allocations: 126.4 kB / 1.135 GB, free: 8.723 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 9.174e-05/0.6032, allocations: 111.8 kB / 1.135 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.6036, allocations: 478.2 kB / 1.135 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.6036, allocations: 0 / 1.135 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6036, allocations: 0 / 1.135 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6036, allocations: 1.469 kB / 1.135 GB, free: 8.375 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005996/0.6042, allocations: 0.542 MB / 1.136 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6043, allocations: 9.938 kB / 1.136 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.6043, allocations: 63.56 kB / 1.136 GB, free: 7.844 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.6045, allocations: 67.22 kB / 1.136 GB, free: 7.809 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.6049, allocations: 266.6 kB / 1.136 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.6049, allocations: 19.03 kB / 1.136 GB, free: 7.566 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.6049, allocations: 29.41 kB / 1.136 GB, free: 7.555 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.6053, allocations: 316.5 kB / 1.137 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.6053, allocations: 1.031 kB / 1.137 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.6053, allocations: 14.86 kB / 1.137 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.6053, allocations: 6.25 kB / 1.137 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.6056, allocations: 205.4 kB / 1.137 GB, free: 7.23 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.6065, allocations: 1.19 MB / 1.138 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.6066, allocations: 110.7 kB / 1.138 GB, free: 6.117 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.6067, allocations: 85.31 kB / 1.138 GB, free: 6.074 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.607, allocations: 82.22 kB / 1.138 GB, free: 6.039 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.607, allocations: 35.66 kB / 1.138 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.607, allocations: 1.312 kB / 1.138 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13): time 0.0004191/0.6074, allocations: 268.7 kB / 1.139 GB, free: 5.855 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.6074, allocations: 53.5 kB / 1.139 GB, free: 5.793 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.6076, allocations: 314 kB / 1.139 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.6076, allocations: 30.89 kB / 1.139 GB, free: 5.559 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.6079, allocations: 193.8 kB / 1.139 GB, free: 5.383 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.6079, allocations: 44.89 kB / 1.139 GB, free: 5.344 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.6079, allocations: 35.83 kB / 1.139 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.608, allocations: 342.8 kB / 1.14 GB, free: 4.98 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.6081, allocations: 58.08 kB / 1.14 GB, free: 4.953 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.6082, allocations: 194.3 kB / 1.14 GB, free: 4.773 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.6084, allocations: 170.4 kB / 1.14 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6084, allocations: 0 / 1.14 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002473/0.6087, allocations: 221 kB / 1.14 GB, free: 4.535 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6087, allocations: 4.844 kB / 1.14 GB, free: 4.535 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6087, allocations: 1.5 kB / 1.14 GB, free: 4.535 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6087, allocations: 10.77 kB / 1.14 GB, free: 4.527 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.6088, allocations: 33.55 kB / 1.14 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6088, allocations: 5.781 kB / 1.14 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.6089, allocations: 33.64 kB / 1.14 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.6089, allocations: 7.344 kB / 1.14 GB, free: 4.496 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 9.488e-05/0.609, allocations: 155 kB / 1.14 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.609, allocations: 32.34 kB / 1.14 GB, free: 4.336 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.6093, allocations: 209.9 kB / 1.141 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6093, allocations: 0 / 1.141 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6093, allocations: 0 / 1.141 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6093, allocations: 0 / 1.141 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.6099, allocations: 0.6443 MB / 1.141 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6099, allocations: 1.375 kB / 1.141 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.6099, allocations: 25.98 kB / 1.141 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6099, allocations: 1.375 kB / 1.141 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.61, allocations: 8.125 kB / 1.141 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.61, allocations: 7.281 kB / 1.141 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.61, allocations: 9.531 kB / 1.141 GB, free: 3.66 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.6102, allocations: 331 kB / 1.142 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.6103, allocations: 46.81 kB / 1.142 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.6103, allocations: 2.719 kB / 1.142 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.6104, allocations: 10.5 kB / 1.142 GB, free: 3.359 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.6104, allocations: 22.16 kB / 1.142 GB, free: 3.344 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6104, allocations: 9.844 kB / 1.142 GB, free: 3.34 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001409/0.6105, allocations: 217 kB / 1.142 GB, free: 3.199 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.6105, allocations: 4 kB / 1.142 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000248/0.6108, allocations: 82.25 kB / 1.142 GB, free: 3.172 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0005507/0.6113, allocations: 0.9052 MB / 1.143 GB, free: 2.344 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.6116, allocations: 155.2 kB / 1.143 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6116, allocations: 0 / 1.143 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.797e-05/0.6117, allocations: 83.19 kB / 1.143 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.6122, allocations: 153.2 kB / 1.143 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.6142, allocations: 2.797 MB / 1.146 GB, free: 40 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.6144, allocations: 181.5 kB / 1.146 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.6145, allocations: 56.16 kB / 1.146 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.6146, allocations: 93.25 kB / 1.146 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of SimCode: time 4.1e-07/0.6146, allocations: 4 kB / 1.146 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.6361, allocations: 9.308 MB / 1.155 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/7.164, allocations: 14.67 kB / 1.155 GB, free: 10.97 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.021723939105868]