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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001591/0.001591, allocations: 108 kB / 16.36 MB, free: 6.285 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.001635/0.001635, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.468/2.468, allocations: 442.6 MB / 0.7165 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 62.44 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3213, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.745/1.066, allocations: 169.5 MB / 1.192 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008186/1.075, allocations: 7.136 MB / 1.199 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005567/1.075, allocations: 11.97 kB / 1.199 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005587/1.076, allocations: 165.9 kB / 1.199 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003579/1.079, allocations: 1.269 MB / 1.201 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/1.081, allocations: 0.627 MB / 1.201 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001013/1.082, allocations: 0.7633 MB / 1.202 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/1.083, allocations: 294.1 kB / 1.202 GB, free: 4 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/1.084, allocations: 0.5622 MB / 1.203 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007559/1.085, allocations: 424.8 kB / 1.203 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/1.085, allocations: 26.72 kB / 1.203 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/1.087, allocations: 1.248 MB / 1.204 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/1.087, allocations: 120.5 kB / 1.205 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/1.087, allocations: 174.4 kB / 1.205 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/1.089, allocations: 0.9023 MB / 1.206 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/1.089, allocations: 4 kB / 1.206 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.834e-06/1.089, allocations: 0 / 1.206 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.017e-06/1.089, allocations: 0 / 1.206 GB, free: 1.965 MB / 0.9044 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.0009657/1.09, allocations: 0.6929 MB / 1.206 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.09, allocations: 7.906 kB / 1.206 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009531/1.091, allocations: 121.6 kB / 1.206 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/1.091, allocations: 350.3 kB / 1.207 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/1.091, allocations: 49.27 kB / 1.207 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/1.091, allocations: 28.53 kB / 1.207 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/1.092, allocations: 372.2 kB / 1.207 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.092, allocations: 2.875 kB / 1.207 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/1.092, allocations: 10.97 kB / 1.207 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/1.092, allocations: 4.938 kB / 1.207 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/1.092, allocations: 276.2 kB / 1.207 GB, free: 0.5469 MB / 0.9044 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.001843/1.094, allocations: 1.486 MB / 1.209 GB, free: 15.19 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/1.095, allocations: 197.9 kB / 1.209 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/1.095, allocations: 121.2 kB / 1.209 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009192/1.096, allocations: 0.5032 MB / 1.21 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.096, allocations: 34.56 kB / 1.21 GB, free: 14.46 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/1.096, allocations: 0 / 1.21 GB, free: 14.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0008865/1.097, allocations: 362.7 kB / 1.21 GB, free: 14.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.097, allocations: 53.72 kB / 1.21 GB, free: 14.21 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/1.097, allocations: 316.4 kB / 1.21 GB, free: 14 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.097, allocations: 29.7 kB / 1.21 GB, free: 13.96 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.097, allocations: 197 kB / 1.211 GB, free: 13.78 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/1.097, allocations: 47.05 kB / 1.211 GB, free: 13.74 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/1.097, allocations: 43.42 kB / 1.211 GB, free: 13.71 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.097, allocations: 338.5 kB / 1.211 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/1.098, allocations: 92.23 kB / 1.211 GB, free: 13.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/1.098, allocations: 153.3 kB / 1.211 GB, free: 13.22 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/1.098, allocations: 241.8 kB / 1.211 GB, free: 13.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.098, allocations: 6.688 kB / 1.211 GB, free: 13.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005435/1.099, allocations: 273.9 kB / 1.212 GB, free: 12.92 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.099, allocations: 9.562 kB / 1.212 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.099, allocations: 2.438 kB / 1.212 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.099, allocations: 2.594 kB / 1.212 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/1.099, allocations: 40.39 kB / 1.212 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.099, allocations: 6.797 kB / 1.212 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/1.099, allocations: 29.59 kB / 1.212 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/1.099, allocations: 11.45 kB / 1.212 GB, free: 12.88 MB / 0.92 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.0001568/1.1, allocations: 162.1 kB / 1.212 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.1, allocations: 35.22 kB / 1.212 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006535/1.1, allocations: 311.8 kB / 1.212 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.1, allocations: 2.781 kB / 1.212 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.1, allocations: 0 / 1.212 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/1.1, allocations: 0 / 1.212 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/1.102, allocations: 0.8025 MB / 1.213 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.102, allocations: 2.125 kB / 1.213 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/1.102, allocations: 47.25 kB / 1.213 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.102, allocations: 3.25 kB / 1.213 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.102, allocations: 7.594 kB / 1.213 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.102, allocations: 6.031 kB / 1.213 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.102, allocations: 2.625 kB / 1.213 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/1.102, allocations: 402.4 kB / 1.214 GB, free: 11.55 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/1.103, allocations: 129.1 kB / 1.214 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/1.103, allocations: 10.69 kB / 1.214 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/1.103, allocations: 23.3 kB / 1.214 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.103, allocations: 15.52 kB / 1.214 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/1.103, allocations: 17.83 kB / 1.214 GB, free: 11.39 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001949/1.103, allocations: 221.8 kB / 1.214 GB, free: 11.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.103, allocations: 0 / 1.214 GB, free: 11.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005099/1.104, allocations: 124.9 kB / 1.214 GB, free: 11.22 MB / 0.92 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.0005404/1.104, allocations: 238 kB / 1.214 GB, free: 11.06 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004889/1.105, allocations: 220.2 kB / 1.215 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.105, allocations: 0 / 1.215 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/1.105, allocations: 123.3 kB / 1.215 GB, free: 10.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/1.106, allocations: 156.4 kB / 1.215 GB, free: 10.83 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.107, allocations: 0.589 MB / 1.215 GB, free: 10.41 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/1.107, allocations: 0.7896 MB / 1.216 GB, free: 9.668 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002406/1.107, allocations: 82.58 kB / 1.216 GB, free: 9.637 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/1.108, allocations: 28.45 kB / 1.216 GB, free: 9.625 MB / 0.92 GB Notification: Performance of SimCode: time 3.4e-07/1.108, allocations: 0 / 1.216 GB, free: 9.625 MB / 0.92 GB Notification: Performance of Templates: time 0.0118/1.119, allocations: 7.29 MB / 1.223 GB, free: 3.625 MB / 0.92 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=480 -s cvode -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