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.006973/0.006973, allocations: 102 kB / 15.73 MB, free: 6.051 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.001637/0.001637, allocations: 195 kB / 16.68 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.33/2.33, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.45 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2788, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1724/0.4512, allocations: 169.4 MB / 1.253 GB, free: 7.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008406/0.4597, allocations: 7.131 MB / 1.26 GB, free: 236 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.4602, allocations: 15.94 kB / 1.26 GB, free: 220 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.4608, allocations: 182.7 kB / 1.261 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.7118/1.173, allocations: 1.246 MB / 1.262 GB, free: 3.598 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/1.174, allocations: 0.6336 MB / 1.262 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001161/1.176, allocations: 0.7524 MB / 1.263 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/1.176, allocations: 303.1 kB / 1.263 GB, free: 3.578 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/1.177, allocations: 0.5746 MB / 1.264 GB, free: 3.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008268/1.178, allocations: 420.6 kB / 1.264 GB, free: 3.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/1.178, allocations: 27.12 kB / 1.264 GB, free: 3.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/1.18, allocations: 1.25 MB / 1.266 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/1.181, allocations: 111.7 kB / 1.266 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/1.181, allocations: 179.5 kB / 1.266 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/1.182, allocations: 0.9013 MB / 1.267 GB, free: 3.516 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.182, allocations: 1.969 kB / 1.267 GB, free: 3.516 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/1.182, allocations: 3.188 kB / 1.267 GB, free: 3.516 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.854e-06/1.182, allocations: 0.9375 kB / 1.267 GB, free: 3.516 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009465/1.183, allocations: 0.6911 MB / 1.267 GB, free: 3.012 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/1.183, allocations: 9.844 kB / 1.267 GB, free: 3.012 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.184, allocations: 123.8 kB / 1.268 GB, free: 2.996 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/1.185, allocations: 338.8 kB / 1.268 GB, free: 2.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/1.185, allocations: 52.69 kB / 1.268 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/1.185, allocations: 29.06 kB / 1.268 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/1.186, allocations: 368.7 kB / 1.268 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.186, allocations: 1.75 kB / 1.268 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/1.186, allocations: 9.406 kB / 1.268 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.186, allocations: 10.56 kB / 1.268 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/1.186, allocations: 272.1 kB / 1.269 GB, free: 2.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.001782/1.188, allocations: 1.49 MB / 1.27 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/1.189, allocations: 196.6 kB / 1.27 GB, free: 1.668 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/1.189, allocations: 116.2 kB / 1.27 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/1.19, allocations: 0.5056 MB / 1.271 GB, free: 17.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.19, allocations: 43.34 kB / 1.271 GB, free: 17.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/1.19, allocations: 0.8438 kB / 1.271 GB, free: 17.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001131/1.191, allocations: 359 kB / 1.271 GB, free: 17.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/1.191, allocations: 55.02 kB / 1.271 GB, free: 17.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/1.192, allocations: 313.8 kB / 1.272 GB, free: 16.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.192, allocations: 27.55 kB / 1.272 GB, free: 16.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.192, allocations: 186.3 kB / 1.272 GB, free: 16.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/1.192, allocations: 53.69 kB / 1.272 GB, free: 16.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/1.192, allocations: 44.42 kB / 1.272 GB, free: 16.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.192, allocations: 339.1 kB / 1.272 GB, free: 16.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/1.192, allocations: 90.81 kB / 1.272 GB, free: 16.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/1.193, allocations: 147.6 kB / 1.272 GB, free: 16.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/1.193, allocations: 243.6 kB / 1.273 GB, free: 16.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.193, allocations: 1.281 kB / 1.273 GB, free: 16.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006108/1.194, allocations: 279.6 kB / 1.273 GB, free: 16.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.194, allocations: 9.594 kB / 1.273 GB, free: 16.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.194, allocations: 3.562 kB / 1.273 GB, free: 16.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.194, allocations: 3.859 kB / 1.273 GB, free: 16.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/1.194, allocations: 41.41 kB / 1.273 GB, free: 16.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.194, allocations: 3 kB / 1.273 GB, free: 16.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/1.194, allocations: 34.38 kB / 1.273 GB, free: 16.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/1.194, allocations: 13.61 kB / 1.273 GB, free: 16.25 MB / 1.029 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.0001723/1.195, allocations: 154.4 kB / 1.273 GB, free: 16.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/1.195, allocations: 34.48 kB / 1.273 GB, free: 16.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007728/1.195, allocations: 307 kB / 1.274 GB, free: 16.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.195, allocations: 2.531 kB / 1.274 GB, free: 16.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.195, allocations: 3.812 kB / 1.274 GB, free: 16.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.195, allocations: 3.594 kB / 1.274 GB, free: 16.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/1.197, allocations: 0.8066 MB / 1.274 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.197, allocations: 4.094 kB / 1.274 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/1.197, allocations: 39.75 kB / 1.274 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.197, allocations: 3.438 kB / 1.274 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/1.197, allocations: 4.953 kB / 1.274 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.197, allocations: 7.422 kB / 1.274 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.197, allocations: 10.06 kB / 1.274 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/1.198, allocations: 405.1 kB / 1.275 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/1.198, allocations: 134 kB / 1.275 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/1.198, allocations: 8.141 kB / 1.275 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/1.199, allocations: 12 kB / 1.275 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/1.199, allocations: 20.28 kB / 1.275 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/1.199, allocations: 10.78 kB / 1.275 GB, free: 15.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002865/1.199, allocations: 229.4 kB / 1.275 GB, free: 15.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.199, allocations: 0 / 1.275 GB, free: 15.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006566/1.2, allocations: 121.2 kB / 1.275 GB, free: 15.3 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 (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.0006372/1.2, allocations: 234.3 kB / 1.276 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005563/1.201, allocations: 219.9 kB / 1.276 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.201, allocations: 1.219 kB / 1.276 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/1.201, allocations: 116 kB / 1.276 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/1.202, allocations: 161.9 kB / 1.276 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/1.203, allocations: 0.6016 MB / 1.277 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/1.204, allocations: 0.7913 MB / 1.277 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002842/1.204, allocations: 90.11 kB / 1.277 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/1.204, allocations: 28.89 kB / 1.277 GB, free: 14.15 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.204, allocations: 0.8438 kB / 1.277 GB, free: 14.15 MB / 1.029 GB Notification: Performance of Templates: time 0.01755/1.221, allocations: 7.408 MB / 1.285 GB, free: 13.86 MB / 1.029 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