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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001488/0.001488, allocations: 104.8 kB / 16.37 MB, free: 6.457 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.001627/0.001627, allocations: 195.8 kB / 17.31 MB, free: 5.812 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.41 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2996, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.8718/1.171, allocations: 169.4 MB / 1.117 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0101/1.182, allocations: 7.132 MB / 1.124 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009433/1.183, allocations: 13.25 kB / 1.124 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007246/1.183, allocations: 174.2 kB / 1.124 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004359/1.188, allocations: 1.259 MB / 1.125 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/1.19, allocations: 0.6288 MB / 1.126 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001396/1.191, allocations: 0.7594 MB / 1.126 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/1.192, allocations: 291.8 kB / 1.127 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/1.194, allocations: 0.5712 MB / 1.127 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/1.195, allocations: 426.9 kB / 1.128 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/1.195, allocations: 26.84 kB / 1.128 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/1.198, allocations: 1.241 MB / 1.129 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001936/1.198, allocations: 117.2 kB / 1.129 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/1.198, allocations: 183.5 kB / 1.129 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/1.201, allocations: 0.8973 MB / 1.13 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.201, allocations: 0 / 1.13 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.986e-06/1.201, allocations: 1.312 kB / 1.13 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.201, allocations: 5.203 kB / 1.13 GB, free: 5.336 MB / 0.8575 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.001338/1.202, allocations: 0.6904 MB / 1.131 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.202, allocations: 8.688 kB / 1.131 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/1.203, allocations: 131.2 kB / 1.131 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/1.204, allocations: 343.7 kB / 1.131 GB, free: 20.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/1.204, allocations: 50.36 kB / 1.131 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/1.204, allocations: 29.47 kB / 1.131 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/1.205, allocations: 368.7 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.205, allocations: 0.5938 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/1.205, allocations: 13.86 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/1.205, allocations: 6.688 kB / 1.132 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/1.205, allocations: 269.1 kB / 1.132 GB, free: 20.46 MB / 0.8731 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.001938/1.207, allocations: 1.493 MB / 1.133 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/1.208, allocations: 193 kB / 1.133 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/1.208, allocations: 120.7 kB / 1.134 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000974/1.209, allocations: 0.5032 MB / 1.134 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.209, allocations: 36.22 kB / 1.134 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/1.209, allocations: 4 kB / 1.134 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0009755/1.21, allocations: 359.1 kB / 1.134 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/1.21, allocations: 52.56 kB / 1.134 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/1.21, allocations: 315.4 kB / 1.135 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/1.21, allocations: 26.58 kB / 1.135 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/1.21, allocations: 191.9 kB / 1.135 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/1.21, allocations: 51.41 kB / 1.135 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.457e-05/1.211, allocations: 46.77 kB / 1.135 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.211, allocations: 339.7 kB / 1.135 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/1.211, allocations: 87.95 kB / 1.135 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/1.211, allocations: 145.8 kB / 1.136 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/1.212, allocations: 243.2 kB / 1.136 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.212, allocations: 3.938 kB / 1.136 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005716/1.212, allocations: 277.6 kB / 1.136 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.212, allocations: 12.47 kB / 1.136 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.212, allocations: 2.625 kB / 1.136 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.212, allocations: 6.906 kB / 1.136 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/1.212, allocations: 38.92 kB / 1.136 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/1.212, allocations: 3.219 kB / 1.136 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/1.213, allocations: 35.34 kB / 1.136 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/1.213, allocations: 13.11 kB / 1.136 GB, free: 18.02 MB / 0.8731 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.0001553/1.213, allocations: 156 kB / 1.136 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.213, allocations: 30.16 kB / 1.136 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/1.214, allocations: 320 kB / 1.137 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.214, allocations: 2.281 kB / 1.137 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/1.214, allocations: 0 / 1.137 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.214, allocations: 3.609 kB / 1.137 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/1.215, allocations: 0.8079 MB / 1.138 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.215, allocations: 0.9688 kB / 1.138 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/1.215, allocations: 35.05 kB / 1.138 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.215, allocations: 3.5 kB / 1.138 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/1.215, allocations: 19.58 kB / 1.138 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.215, allocations: 2.312 kB / 1.138 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.215, allocations: 2.812 kB / 1.138 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/1.216, allocations: 398.3 kB / 1.138 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/1.216, allocations: 132.1 kB / 1.138 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/1.216, allocations: 11.89 kB / 1.138 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/1.216, allocations: 17.61 kB / 1.138 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/1.217, allocations: 21.97 kB / 1.138 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/1.217, allocations: 13.09 kB / 1.138 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002438/1.217, allocations: 227.3 kB / 1.138 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.217, allocations: 0 / 1.138 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006391/1.217, allocations: 125.8 kB / 1.138 GB, free: 17.03 MB / 0.8731 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.0006345/1.218, allocations: 220.9 kB / 1.139 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005132/1.219, allocations: 221.6 kB / 1.139 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.219, allocations: 1.031 kB / 1.139 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/1.219, allocations: 118.7 kB / 1.139 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/1.22, allocations: 167.7 kB / 1.139 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/1.221, allocations: 0.6018 MB / 1.14 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/1.221, allocations: 0.783 MB / 1.141 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002793/1.221, allocations: 81.28 kB / 1.141 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/1.222, allocations: 35.28 kB / 1.141 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.222, allocations: 0 / 1.141 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.01422/1.236, allocations: 7.273 MB / 1.148 GB, free: 15.35 MB / 0.8731 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches