Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006219/0.006219, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 201.5 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.98 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2834, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1682/0.4516, allocations: 167.5 MB / 1.252 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007589/0.4593, allocations: 6.533 MB / 1.258 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.4598, allocations: 15.88 kB / 1.258 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.4604, allocations: 174.7 kB / 1.258 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.4626, allocations: 0.8791 MB / 1.259 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.4636, allocations: 321.2 kB / 1.259 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.4644, allocations: 0.7251 MB / 1.26 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.4649, allocations: 271.3 kB / 1.26 GB, free: 412 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7019/1.167, allocations: 0.5665 MB / 1.261 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/1.167, allocations: 268.4 kB / 1.261 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.29e-05/1.168, allocations: 22.41 kB / 1.261 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008059/1.168, allocations: 344.3 kB / 1.261 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/1.169, allocations: 104.8 kB / 1.261 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/1.169, allocations: 171.3 kB / 1.262 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007822/1.17, allocations: 468.9 kB / 1.262 GB, free: 4.418 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.17, allocations: 0 / 1.262 GB, free: 4.418 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.033e-06/1.17, allocations: 0.7812 kB / 1.262 GB, free: 4.418 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.556e-05/1.17, allocations: 0 / 1.262 GB, free: 4.418 MB / 1.014 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.0008941/1.17, allocations: 0.6176 MB / 1.263 GB, free: 4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.171, allocations: 9.5 kB / 1.263 GB, free: 4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/1.171, allocations: 63.66 kB / 1.263 GB, free: 3.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/1.171, allocations: 325.2 kB / 1.263 GB, free: 3.754 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/1.172, allocations: 23.06 kB / 1.263 GB, free: 3.754 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/1.172, allocations: 28.28 kB / 1.263 GB, free: 3.754 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/1.172, allocations: 318.3 kB / 1.263 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.172, allocations: 4.312 kB / 1.263 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/1.172, allocations: 11.27 kB / 1.263 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/1.172, allocations: 6.25 kB / 1.263 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/1.173, allocations: 203.8 kB / 1.264 GB, free: 3.66 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/1.174, allocations: 1.528 MB / 1.265 GB, free: 2.531 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/1.175, allocations: 122.6 kB / 1.265 GB, free: 2.508 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/1.175, allocations: 94.02 kB / 1.265 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000833/1.176, allocations: 302.9 kB / 1.266 GB, free: 18.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.176, allocations: 39.38 kB / 1.266 GB, free: 18.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/1.176, allocations: 0.9688 kB / 1.266 GB, free: 18.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008383/1.177, allocations: 276.1 kB / 1.266 GB, free: 18.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.177, allocations: 56.7 kB / 1.266 GB, free: 18.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/1.177, allocations: 311.5 kB / 1.266 GB, free: 17.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/1.177, allocations: 30.48 kB / 1.266 GB, free: 17.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.177, allocations: 187.5 kB / 1.267 GB, free: 17.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/1.177, allocations: 44.16 kB / 1.267 GB, free: 17.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/1.177, allocations: 35.12 kB / 1.267 GB, free: 17.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.177, allocations: 337.6 kB / 1.267 GB, free: 17.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/1.178, allocations: 58.97 kB / 1.267 GB, free: 17.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/1.178, allocations: 111.8 kB / 1.267 GB, free: 17.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/1.178, allocations: 181.9 kB / 1.267 GB, free: 17.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.178, allocations: 0.625 kB / 1.267 GB, free: 17.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004701/1.179, allocations: 222.4 kB / 1.267 GB, free: 17.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.179, allocations: 6.719 kB / 1.267 GB, free: 17.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.179, allocations: 6.078 kB / 1.267 GB, free: 17.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.179, allocations: 2.938 kB / 1.267 GB, free: 17.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/1.179, allocations: 34.78 kB / 1.267 GB, free: 17.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.179, allocations: 6 kB / 1.268 GB, free: 17.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/1.179, allocations: 27.83 kB / 1.268 GB, free: 17.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/1.179, allocations: 8.453 kB / 1.268 GB, free: 17.31 MB / 1.029 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 0.000161/1.179, allocations: 148.5 kB / 1.268 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/1.179, allocations: 29.59 kB / 1.268 GB, free: 17.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/1.18, allocations: 211.5 kB / 1.268 GB, free: 17.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.18, allocations: 4.594 kB / 1.268 GB, free: 17.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.18, allocations: 0.7812 kB / 1.268 GB, free: 17.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.18, allocations: 0.5938 kB / 1.268 GB, free: 17.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/1.181, allocations: 0.6844 MB / 1.269 GB, free: 16.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.181, allocations: 2.938 kB / 1.269 GB, free: 16.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/1.181, allocations: 32.73 kB / 1.269 GB, free: 16.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.181, allocations: 4.562 kB / 1.269 GB, free: 16.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/1.181, allocations: 6.781 kB / 1.269 GB, free: 16.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.181, allocations: 4 kB / 1.269 GB, free: 16.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.181, allocations: 5.812 kB / 1.269 GB, free: 16.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/1.182, allocations: 339.1 kB / 1.269 GB, free: 16.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.182, allocations: 121.2 kB / 1.269 GB, free: 16.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/1.182, allocations: 6.547 kB / 1.269 GB, free: 16.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/1.182, allocations: 11.75 kB / 1.269 GB, free: 16.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/1.182, allocations: 13.3 kB / 1.269 GB, free: 16.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/1.182, allocations: 6.219 kB / 1.269 GB, free: 16.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000248/1.182, allocations: 226.9 kB / 1.269 GB, free: 16.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.182, allocations: 0.8438 kB / 1.269 GB, free: 16.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004625/1.183, allocations: 72 kB / 1.269 GB, free: 16.37 MB / 1.029 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.0004227/1.183, allocations: 157.2 kB / 1.27 GB, free: 16.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004473/1.184, allocations: 156.9 kB / 1.27 GB, free: 16.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.184, allocations: 0.7188 kB / 1.27 GB, free: 16.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/1.184, allocations: 86.52 kB / 1.27 GB, free: 16.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000807/1.185, allocations: 150.2 kB / 1.27 GB, free: 16.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/1.186, allocations: 0.5349 MB / 1.27 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/1.186, allocations: 0.7787 MB / 1.271 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002221/1.186, allocations: 59.16 kB / 1.271 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/1.187, allocations: 24.44 kB / 1.271 GB, free: 15.25 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/1.187, allocations: 0.875 kB / 1.271 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Templates: time 0.01554/1.202, allocations: 5.152 MB / 1.276 GB, free: 15.12 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches