Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009004/0.009005, allocations: 170 kB / 16.27 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.396/2.396, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7366, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1937/0.9303, allocations: 165 MB / 1.116 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008682/0.939, allocations: 7.102 MB / 1.123 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.9396, allocations: 15.88 kB / 1.123 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.9401, allocations: 135.1 kB / 1.123 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.9432, allocations: 1.191 MB / 1.124 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.9448, allocations: 0.5791 MB / 1.125 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.946, allocations: 1.049 MB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.9464, allocations: 242 kB / 1.126 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.9475, allocations: 0.5292 MB / 1.127 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.9483, allocations: 418.5 kB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.9483, allocations: 16 kB / 1.127 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.9508, allocations: 1.465 MB / 1.129 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.9509, allocations: 111.7 kB / 1.129 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.9511, allocations: 188.8 kB / 1.129 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.9526, allocations: 0.9698 MB / 1.13 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9526, allocations: 4 kB / 1.13 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9526, allocations: 0 / 1.13 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.9527, allocations: 0 / 1.13 GB, free: 11.72 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001133/0.9538, allocations: 0.6311 MB / 1.13 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.9538, allocations: 12.03 kB / 1.13 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.9549, allocations: 131.3 kB / 1.131 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.9554, allocations: 325.2 kB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.925e-05/0.9556, allocations: 54.27 kB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.9556, allocations: 27.98 kB / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.9564, allocations: 374.1 kB / 1.131 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.9564, allocations: 0 / 1.131 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.9564, allocations: 15.98 kB / 1.131 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.9564, allocations: 4 kB / 1.131 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.957, allocations: 290 kB / 1.132 GB, free: 9.766 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.001945/0.959, allocations: 1.496 MB / 1.133 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.9594, allocations: 198.6 kB / 1.133 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.9597, allocations: 124.8 kB / 1.133 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.9608, allocations: 0.5286 MB / 1.134 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.9608, allocations: 34.5 kB / 1.134 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.9608, allocations: 4 kB / 1.134 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.001024/0.9618, allocations: 375.1 kB / 1.134 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.9619, allocations: 55.41 kB / 1.134 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.9622, allocations: 316.5 kB / 1.135 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.9623, allocations: 25.7 kB / 1.135 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.9624, allocations: 192 kB / 1.135 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.9625, allocations: 39.36 kB / 1.135 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.9625, allocations: 29.7 kB / 1.135 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9627, allocations: 338.8 kB / 1.135 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.9629, allocations: 95.92 kB / 1.135 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.9632, allocations: 155.1 kB / 1.136 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.9636, allocations: 249.8 kB / 1.136 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9637, allocations: 0 / 1.136 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006287/0.9643, allocations: 298.3 kB / 1.136 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.9643, allocations: 5.094 kB / 1.136 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9643, allocations: 4 kB / 1.136 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.9644, allocations: 3.938 kB / 1.136 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.9646, allocations: 43.97 kB / 1.136 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.9646, allocations: 3.938 kB / 1.136 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.9649, allocations: 47.8 kB / 1.136 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.9649, allocations: 12 kB / 1.136 GB, free: 4.812 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001625/0.9651, allocations: 153.8 kB / 1.136 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.9652, allocations: 23.72 kB / 1.136 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.966, allocations: 324.1 kB / 1.137 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.966, allocations: 0 / 1.137 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.9661, allocations: 4 kB / 1.137 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9661, allocations: 0 / 1.137 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.9674, allocations: 0.8201 MB / 1.137 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9675, allocations: 0 / 1.137 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.9677, allocations: 31.98 kB / 1.137 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.9677, allocations: 7.938 kB / 1.137 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.9677, allocations: 12.08 kB / 1.137 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.9677, allocations: 11.88 kB / 1.137 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9677, allocations: 0 / 1.137 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.9684, allocations: 417 kB / 1.138 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.9685, allocations: 132.7 kB / 1.138 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.9686, allocations: 11.92 kB / 1.138 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.9689, allocations: 27.98 kB / 1.138 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.969, allocations: 15.98 kB / 1.138 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.969, allocations: 15.98 kB / 1.138 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002196/0.9692, allocations: 227 kB / 1.138 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9692, allocations: 0 / 1.138 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005662/0.9698, allocations: 119.8 kB / 1.138 GB, free: 2.336 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 (16): * Single equations (assignments): 16 * 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.0005752/0.9704, allocations: 240.7 kB / 1.139 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.9709, allocations: 226.4 kB / 1.139 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9709, allocations: 4.375 kB / 1.139 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.9712, allocations: 119.8 kB / 1.139 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.9722, allocations: 157.5 kB / 1.139 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.9734, allocations: 0.7164 MB / 1.14 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.9737, allocations: 0.7876 MB / 1.141 GB, free: 28 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.9741, allocations: 95.11 kB / 1.141 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.337e-05/0.9742, allocations: 27.44 kB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.9742, allocations: 3.938 kB / 1.141 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of Templates: time 0.01283/0.987, allocations: 6.961 MB / 1.148 GB, free: 9.035 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches