Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001496/0.001496, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001491/0.001491, allocations: 188 kB / 17.2 MB, free: 5.938 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 73.97 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7496, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2072/0.9568, allocations: 169.5 MB / 1.248 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00919/0.9661, allocations: 7.145 MB / 1.255 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005392/0.9667, allocations: 19.81 kB / 1.255 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.9673, allocations: 166.8 kB / 1.256 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.9707, allocations: 1.252 MB / 1.257 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.9724, allocations: 0.6377 MB / 1.257 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.9734, allocations: 0.7446 MB / 1.258 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.9739, allocations: 298.7 kB / 1.258 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.9755, allocations: 0.7045 MB / 1.259 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008301/0.9764, allocations: 418.5 kB / 1.259 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.9764, allocations: 28 kB / 1.26 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.9787, allocations: 1.228 MB / 1.261 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.9789, allocations: 123.6 kB / 1.261 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.9791, allocations: 179.1 kB / 1.261 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.9807, allocations: 0.8922 MB / 1.262 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9807, allocations: 4 kB / 1.262 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9807, allocations: 0 / 1.262 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.9807, allocations: 0 / 1.262 GB, free: 7.137 MB / 0.9825 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.001042/0.9818, allocations: 0.6935 MB / 1.263 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.9818, allocations: 8.031 kB / 1.263 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/0.9828, allocations: 127.4 kB / 1.263 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.9833, allocations: 333.1 kB / 1.263 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.9834, allocations: 46.27 kB / 1.263 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.9834, allocations: 28 kB / 1.263 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.9841, allocations: 370.1 kB / 1.263 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.9841, allocations: 0 / 1.263 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.9842, allocations: 12 kB / 1.263 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.9842, allocations: 8 kB / 1.263 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.9847, allocations: 274 kB / 1.264 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.9867, allocations: 1.5 MB / 1.265 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.9872, allocations: 190.6 kB / 1.265 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.9874, allocations: 116.8 kB / 1.265 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.9885, allocations: 0.5092 MB / 1.266 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.9885, allocations: 30.56 kB / 1.266 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.9885, allocations: 0 / 1.266 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0009951/0.9895, allocations: 361.1 kB / 1.266 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.9896, allocations: 59.41 kB / 1.266 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.99, allocations: 316.5 kB / 1.267 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.99, allocations: 33.7 kB / 1.267 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.9902, allocations: 180.1 kB / 1.267 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.9902, allocations: 51.27 kB / 1.267 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.9903, allocations: 41.7 kB / 1.267 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9905, allocations: 338.8 kB / 1.267 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.9907, allocations: 83.92 kB / 1.267 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.991, allocations: 157.8 kB / 1.268 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.9914, allocations: 241.7 kB / 1.268 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9914, allocations: 0 / 1.268 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006209/0.992, allocations: 285.1 kB / 1.268 GB, free: 376 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.9921, allocations: 6.188 kB / 1.268 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9921, allocations: 4 kB / 1.268 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9921, allocations: 0 / 1.268 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.9924, allocations: 47.91 kB / 1.268 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9924, allocations: 4 kB / 1.268 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.9926, allocations: 27.72 kB / 1.268 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.9926, allocations: 19.98 kB / 1.268 GB, free: 268 kB / 0.9825 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.0001695/0.9928, allocations: 157.8 kB / 1.268 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.9929, allocations: 27.72 kB / 1.268 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007344/0.9937, allocations: 322.6 kB / 1.269 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.9937, allocations: 4 kB / 1.269 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9937, allocations: 0 / 1.269 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9937, allocations: 4 kB / 1.269 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.9951, allocations: 0.8083 MB / 1.269 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9951, allocations: 0 / 1.269 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.9953, allocations: 35.92 kB / 1.269 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.9953, allocations: 7.938 kB / 1.269 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.9953, allocations: 11.94 kB / 1.269 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.9953, allocations: 3.984 kB / 1.269 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.9953, allocations: 4 kB / 1.269 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.996, allocations: 397.1 kB / 1.27 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.9961, allocations: 136.7 kB / 1.27 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.9962, allocations: 7.938 kB / 1.27 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.9964, allocations: 15.98 kB / 1.27 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.9965, allocations: 23.91 kB / 1.27 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.9965, allocations: 8 kB / 1.27 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002241/0.9968, allocations: 227 kB / 1.27 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9968, allocations: 0 / 1.27 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000493/0.9973, allocations: 123.8 kB / 1.27 GB, free: 13.82 MB / 0.9981 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.0005642/0.9978, allocations: 223.8 kB / 1.271 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.9984, allocations: 223.7 kB / 1.271 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.9984, allocations: 4.375 kB / 1.271 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.9986, allocations: 119.8 kB / 1.271 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008536/0.9995, allocations: 159.9 kB / 1.271 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/1.001, allocations: 0.6417 MB / 1.272 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/1.001, allocations: 0.7872 MB / 1.272 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/1.001, allocations: 31.44 kB / 1.273 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.001, allocations: 0 / 1.273 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.009871/1.011, allocations: 6.254 MB / 1.279 GB, free: 5.367 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches