Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001796/0.001796, allocations: 120 kB / 16.81 MB, free: 5.754 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.001923/0.001923, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.414/1.414, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.708/2.708, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 65.25 kB / 1.097 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 168.7 MB / 1.262 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1972/0.4972, allocations: 170 MB / 1.428 GB, free: 2.438 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009203/0.5064, allocations: 7.159 MB / 1.435 GB, free: 11.26 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003533/0.5068, allocations: 15.94 kB / 1.435 GB, free: 11.24 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.5073, allocations: 166.7 kB / 1.435 GB, free: 11.08 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.5104, allocations: 1.319 MB / 1.437 GB, free: 9.754 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.5121, allocations: 0.6461 MB / 1.437 GB, free: 9.113 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009929/0.5131, allocations: 0.7641 MB / 1.438 GB, free: 8.344 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000431/0.5135, allocations: 251.2 kB / 1.438 GB, free: 8.094 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.5146, allocations: 0.5838 MB / 1.439 GB, free: 7.508 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008187/0.5155, allocations: 454.3 kB / 1.439 GB, free: 7.062 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.5155, allocations: 24 kB / 1.439 GB, free: 7.039 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.5178, allocations: 1.337 MB / 1.44 GB, free: 5.699 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.518, allocations: 123.6 kB / 1.441 GB, free: 5.578 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.5182, allocations: 175.1 kB / 1.441 GB, free: 5.406 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.5196, allocations: 0.9073 MB / 1.442 GB, free: 4.496 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5196, allocations: 0 / 1.442 GB, free: 4.496 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5196, allocations: 0 / 1.442 GB, free: 4.496 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5196, allocations: 0 / 1.442 GB, free: 4.496 MB / 1.154 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.001156/0.5208, allocations: 0.7081 MB / 1.442 GB, free: 3.738 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5208, allocations: 8.031 kB / 1.442 GB, free: 3.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5219, allocations: 127.6 kB / 1.442 GB, free: 3.605 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.5225, allocations: 341.3 kB / 1.443 GB, free: 3.234 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.5225, allocations: 50.27 kB / 1.443 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.5226, allocations: 28 kB / 1.443 GB, free: 3.152 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008986/0.5235, allocations: 370.1 kB / 1.443 GB, free: 2.773 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.5235, allocations: 3.938 kB / 1.443 GB, free: 2.77 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.5235, allocations: 12 kB / 1.443 GB, free: 2.758 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5236, allocations: 8 kB / 1.443 GB, free: 2.75 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.5241, allocations: 278 kB / 1.444 GB, free: 2.477 MB / 1.154 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.002065/0.5262, allocations: 1.497 MB / 1.445 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.5266, allocations: 178.6 kB / 1.445 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.5268, allocations: 120.8 kB / 1.445 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009993/0.5278, allocations: 0.5053 MB / 1.446 GB, free: 15.95 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.5279, allocations: 30.56 kB / 1.446 GB, free: 15.91 MB / 1.17 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.5279, allocations: 0 / 1.446 GB, free: 15.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=15): time 0.0009687/0.5288, allocations: 361.2 kB / 1.446 GB, free: 15.55 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.5289, allocations: 55.41 kB / 1.446 GB, free: 15.49 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.5292, allocations: 316.5 kB / 1.446 GB, free: 15.18 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.5293, allocations: 25.7 kB / 1.447 GB, free: 15.14 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.5294, allocations: 188.3 kB / 1.447 GB, free: 14.96 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.5295, allocations: 59.47 kB / 1.447 GB, free: 14.9 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.5296, allocations: 45.7 kB / 1.447 GB, free: 14.85 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5297, allocations: 338.8 kB / 1.447 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.5299, allocations: 87.92 kB / 1.447 GB, free: 14.42 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.5302, allocations: 137.9 kB / 1.447 GB, free: 14.27 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.5306, allocations: 241.8 kB / 1.448 GB, free: 14.01 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5307, allocations: 7.875 kB / 1.448 GB, free: 14 MB / 1.17 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006422/0.5313, allocations: 289.3 kB / 1.448 GB, free: 13.71 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5313, allocations: 4 kB / 1.448 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5313, allocations: 4 kB / 1.448 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.5313, allocations: 0 / 1.448 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.5316, allocations: 39.92 kB / 1.448 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.5316, allocations: 4 kB / 1.448 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5318, allocations: 31.77 kB / 1.448 GB, free: 13.63 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.5319, allocations: 19.98 kB / 1.448 GB, free: 13.61 MB / 1.17 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.0001906/0.5321, allocations: 153.8 kB / 1.448 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.5322, allocations: 31.81 kB / 1.448 GB, free: 13.42 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007489/0.5329, allocations: 310.8 kB / 1.448 GB, free: 13.1 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5329, allocations: 0 / 1.448 GB, free: 13.1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.5329, allocations: 0 / 1.448 GB, free: 13.1 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.5331, allocations: 140.8 kB / 1.449 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.5332, allocations: 4 kB / 1.449 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.5334, allocations: 15.98 kB / 1.449 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.5334, allocations: 15.86 kB / 1.449 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006206/0.5341, allocations: 320.7 kB / 1.449 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006517/0.5347, allocations: 430.4 kB / 1.449 GB, free: 12.15 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002157/0.5349, allocations: 102.4 kB / 1.449 GB, free: 12.05 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002535/0.5352, allocations: 223.1 kB / 1.45 GB, free: 11.84 MB / 1.17 GB Notification: Performance of Backend: time 2.3e-07/0.5352, allocations: 3.938 kB / 1.45 GB, free: 11.84 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.5367, allocations: 466.6 kB / 1.45 GB, free: 11.38 MB / 1.17 GB Notification: Performance of SimCode: time 0.001623/0.5383, allocations: 1.088 MB / 1.451 GB, free: 10.25 MB / 1.17 GB Notification: Performance of Templates: time 0.01814/0.5564, allocations: 9.75 MB / 1.461 GB, free: 0.5625 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches