Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001301/0.001301, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437 MB / 0.7103 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7229, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1772/0.9001, allocations: 169.4 MB / 1.183 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009968/0.9101, allocations: 7.141 MB / 1.19 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004782/0.9106, allocations: 15.88 kB / 1.19 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.9112, allocations: 174.7 kB / 1.19 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.9143, allocations: 1.26 MB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.916, allocations: 0.6245 MB / 1.192 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008517/0.9169, allocations: 0.7641 MB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.9174, allocations: 282.8 kB / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.9185, allocations: 0.5681 MB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/0.9192, allocations: 418.6 kB / 1.194 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.9193, allocations: 28 kB / 1.194 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.9214, allocations: 1.239 MB / 1.195 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.9215, allocations: 119.7 kB / 1.195 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.9217, allocations: 179 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.923, allocations: 0.896 MB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.923, allocations: 4 kB / 1.196 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.315e-06/0.923, allocations: 0 / 1.196 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.9231, allocations: 0 / 1.196 GB, free: 10.69 MB / 0.9512 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.001022/0.9241, allocations: 0.6896 MB / 1.197 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.9241, allocations: 8.031 kB / 1.197 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.9251, allocations: 123.5 kB / 1.197 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.9256, allocations: 333.1 kB / 1.197 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.862e-05/0.9257, allocations: 54.25 kB / 1.197 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.9258, allocations: 32 kB / 1.197 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.9265, allocations: 366.1 kB / 1.198 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.9265, allocations: 3.938 kB / 1.198 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.9266, allocations: 12 kB / 1.198 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.9266, allocations: 11.94 kB / 1.198 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.9271, allocations: 278 kB / 1.198 GB, free: 8.691 MB / 0.9512 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.001999/0.9291, allocations: 1.488 MB / 1.199 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.9296, allocations: 194.5 kB / 1.2 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.9298, allocations: 120.8 kB / 1.2 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.9309, allocations: 0.4975 MB / 1.2 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.9309, allocations: 42.55 kB / 1.2 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.744e-06/0.9309, allocations: 0 / 1.2 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.001018/0.9319, allocations: 358.7 kB / 1.201 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.932, allocations: 55.41 kB / 1.201 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.9323, allocations: 312.5 kB / 1.201 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.9323, allocations: 29.7 kB / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.9325, allocations: 192 kB / 1.201 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.9325, allocations: 47.36 kB / 1.201 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.9326, allocations: 49.61 kB / 1.201 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9328, allocations: 334.8 kB / 1.202 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.933, allocations: 95.92 kB / 1.202 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.9333, allocations: 137.9 kB / 1.202 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.9337, allocations: 257.7 kB / 1.202 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9337, allocations: 0 / 1.202 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005796/0.9343, allocations: 273.1 kB / 1.202 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9343, allocations: 8 kB / 1.202 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.9343, allocations: 0 / 1.202 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.9344, allocations: 4 kB / 1.202 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.9346, allocations: 47.91 kB / 1.202 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.9346, allocations: 4 kB / 1.202 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.9348, allocations: 35.67 kB / 1.202 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.9349, allocations: 12.19 kB / 1.202 GB, free: 3.805 MB / 0.9512 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.0001547/0.935, allocations: 157.7 kB / 1.203 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.9351, allocations: 31.62 kB / 1.203 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/0.9359, allocations: 308.1 kB / 1.203 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.9359, allocations: 0 / 1.203 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9359, allocations: 11.94 kB / 1.203 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9359, allocations: 0 / 1.203 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.9372, allocations: 0.8043 MB / 1.204 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.9372, allocations: 4 kB / 1.204 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.9375, allocations: 39.91 kB / 1.204 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.9375, allocations: 4 kB / 1.204 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.9375, allocations: 7.938 kB / 1.204 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.9375, allocations: 4 kB / 1.204 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9376, allocations: 0 / 1.204 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.9382, allocations: 411.4 kB / 1.204 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.9383, allocations: 124.8 kB / 1.204 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.9384, allocations: 11.94 kB / 1.204 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.9386, allocations: 11.98 kB / 1.204 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.9387, allocations: 19.92 kB / 1.204 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.9387, allocations: 11.98 kB / 1.204 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000217/0.9389, allocations: 223.1 kB / 1.204 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9389, allocations: 4 kB / 1.204 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005457/0.9395, allocations: 127.8 kB / 1.205 GB, free: 1.375 MB / 0.9512 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.0005751/0.9401, allocations: 233.7 kB / 1.205 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.9406, allocations: 228.5 kB / 1.205 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9406, allocations: 0 / 1.205 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.9409, allocations: 119.8 kB / 1.205 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/0.9417, allocations: 167.8 kB / 1.205 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.9429, allocations: 0.601 MB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.9433, allocations: 0.7833 MB / 1.207 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003118/0.9436, allocations: 86.86 kB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.9437, allocations: 31.42 kB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.9437, allocations: 0 / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of Templates: time 0.01377/0.9575, allocations: 7.288 MB / 1.214 GB, free: 7.871 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches