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.001195/0.001195, allocations: 108 kB / 15.6 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.383/2.383, allocations: 390.2 MB / 0.6647 GB, free: 392 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7756, allocations: 140.3 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1946/0.9702, allocations: 167.5 MB / 1.113 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007662/0.9779, allocations: 6.543 MB / 1.12 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000636/0.9786, allocations: 11.94 kB / 1.12 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.9793, allocations: 170.8 kB / 1.12 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.9816, allocations: 0.844 MB / 1.121 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.9826, allocations: 334.8 kB / 1.121 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.9837, allocations: 0.7135 MB / 1.122 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00051/0.9842, allocations: 278.8 kB / 1.122 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.9854, allocations: 0.5525 MB / 1.122 GB, free: 264 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.9858, allocations: 267.1 kB / 1.123 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.9859, allocations: 24 kB / 1.123 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007799/0.9867, allocations: 339.1 kB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.9868, allocations: 107.7 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.987, allocations: 163.2 kB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.9876, allocations: 458.5 kB / 1.124 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9877, allocations: 0 / 1.124 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9877, allocations: 0 / 1.124 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9877, allocations: 0 / 1.124 GB, free: 14.93 MB / 0.8887 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.0009513/0.9886, allocations: 0.6234 MB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.9887, allocations: 8.031 kB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.989, allocations: 67.44 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.9895, allocations: 301.2 kB / 1.125 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.9895, allocations: 24.56 kB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.9896, allocations: 24 kB / 1.125 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.9903, allocations: 323.7 kB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.9903, allocations: 0 / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.9903, allocations: 12 kB / 1.125 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.9903, allocations: 4 kB / 1.125 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.9908, allocations: 205.5 kB / 1.125 GB, free: 13.24 MB / 0.8887 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.001825/0.9927, allocations: 1.55 MB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.9929, allocations: 122.5 kB / 1.127 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.9931, allocations: 88.81 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/0.9938, allocations: 303.2 kB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.9939, allocations: 34.56 kB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.9939, allocations: 0 / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0007815/0.9947, allocations: 273.4 kB / 1.128 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.9947, allocations: 51.41 kB / 1.128 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.9951, allocations: 312.5 kB / 1.128 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.9951, allocations: 29.7 kB / 1.128 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.9953, allocations: 180.1 kB / 1.128 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.9953, allocations: 47.39 kB / 1.128 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.9954, allocations: 41.61 kB / 1.128 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.9956, allocations: 338.8 kB / 1.128 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.9958, allocations: 59.95 kB / 1.129 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.996, allocations: 109.1 kB / 1.129 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.9964, allocations: 169 kB / 1.129 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.9964, allocations: 7.938 kB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004514/0.9969, allocations: 225.1 kB / 1.129 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.9969, allocations: 8 kB / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.9969, allocations: 0 / 1.129 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.9969, allocations: 4 kB / 1.129 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.9971, allocations: 27.98 kB / 1.129 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.9971, allocations: 4 kB / 1.129 GB, free: 9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.9973, allocations: 35.92 kB / 1.129 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.9974, allocations: 8 kB / 1.129 GB, free: 8.957 MB / 0.8887 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.0001481/0.9975, allocations: 149.7 kB / 1.129 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.9976, allocations: 35.61 kB / 1.129 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.998, allocations: 208.3 kB / 1.129 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.998, allocations: 0 / 1.129 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9981, allocations: 4 kB / 1.129 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9981, allocations: 0 / 1.129 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.9992, allocations: 0.6835 MB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.9992, allocations: 4 kB / 1.13 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.9993, allocations: 27.97 kB / 1.13 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.9993, allocations: 7.938 kB / 1.13 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.9993, allocations: 8 kB / 1.13 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9993, allocations: 3.938 kB / 1.13 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9994, allocations: 4 kB / 1.13 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.9998, allocations: 343.6 kB / 1.131 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.9999, allocations: 112.8 kB / 1.131 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/1, allocations: 4 kB / 1.131 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/1, allocations: 19.86 kB / 1.131 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/1, allocations: 11.98 kB / 1.131 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/1, allocations: 8 kB / 1.131 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002379/1, allocations: 223.1 kB / 1.131 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1, allocations: 0 / 1.131 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003821/1.001, allocations: 75.83 kB / 1.131 GB, free: 6.898 MB / 0.8887 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.0004501/1.001, allocations: 156.1 kB / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004862/1.002, allocations: 159.9 kB / 1.131 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.002, allocations: 0 / 1.131 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/1.002, allocations: 87.83 kB / 1.131 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/1.003, allocations: 151.4 kB / 1.131 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/1.004, allocations: 0.5405 MB / 1.132 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/1.004, allocations: 0.7834 MB / 1.133 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001826/1.004, allocations: 62.94 kB / 1.133 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/1.005, allocations: 23.44 kB / 1.133 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/1.005, allocations: 0 / 1.133 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of Templates: time 0.01016/1.015, allocations: 5.141 MB / 1.138 GB, free: 15.82 MB / 0.9044 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