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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.005543/0.005543, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001219/0.001219, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.482/1.482, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7106 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.89 kB / 0.8692 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6331/0.6345, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1729/0.8074, allocations: 167.2 MB / 1.181 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008673/0.8161, allocations: 7.216 MB / 1.188 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.8167, allocations: 11.94 kB / 1.188 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006346/0.8174, allocations: 131.1 kB / 1.188 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.8207, allocations: 1.191 MB / 1.189 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.8225, allocations: 0.5835 MB / 1.189 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.8237, allocations: 1.053 MB / 1.19 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.8241, allocations: 238.1 kB / 1.191 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.8254, allocations: 0.5331 MB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009336/0.8263, allocations: 426.5 kB / 1.192 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.8264, allocations: 20 kB / 1.192 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.8289, allocations: 1.465 MB / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.8291, allocations: 115.6 kB / 1.193 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.8294, allocations: 171.1 kB / 1.193 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.8305, allocations: 0.6276 MB / 1.194 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8305, allocations: 4 kB / 1.194 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8305, allocations: 3.938 kB / 1.194 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.8305, allocations: 0 / 1.194 GB, free: 13.13 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.001199/0.8318, allocations: 0.6896 MB / 1.195 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.8318, allocations: 12.03 kB / 1.195 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.8329, allocations: 123.5 kB / 1.195 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.8334, allocations: 329.1 kB / 1.195 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/0.8335, allocations: 58.27 kB / 1.195 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.8336, allocations: 24 kB / 1.195 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.8343, allocations: 366.1 kB / 1.196 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.8343, allocations: 0 / 1.196 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.8343, allocations: 12 kB / 1.196 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.8344, allocations: 8 kB / 1.196 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.8349, allocations: 282 kB / 1.196 GB, free: 11.14 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.001971/0.8369, allocations: 1.488 MB / 1.197 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.8373, allocations: 190.6 kB / 1.197 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.8375, allocations: 112.8 kB / 1.198 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.8386, allocations: 0.5092 MB / 1.198 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.8387, allocations: 38.56 kB / 1.198 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.8387, allocations: 0 / 1.198 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0009677/0.8397, allocations: 363.2 kB / 1.198 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.8397, allocations: 51.41 kB / 1.199 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.84, allocations: 316.5 kB / 1.199 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.8401, allocations: 33.7 kB / 1.199 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.8402, allocations: 188 kB / 1.199 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.8403, allocations: 39.36 kB / 1.199 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.8404, allocations: 49.61 kB / 1.199 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8405, allocations: 338.8 kB / 1.199 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.8407, allocations: 87.92 kB / 1.2 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.841, allocations: 155.7 kB / 1.2 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.8414, allocations: 238.9 kB / 1.2 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8414, allocations: 0 / 1.2 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006159/0.842, allocations: 281.1 kB / 1.2 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8421, allocations: 14.16 kB / 1.2 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8421, allocations: 4 kB / 1.2 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8421, allocations: 0 / 1.2 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.8424, allocations: 43.91 kB / 1.2 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.8424, allocations: 4 kB / 1.2 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.8426, allocations: 35.67 kB / 1.2 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.8427, allocations: 15.98 kB / 1.2 GB, free: 6.258 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.00018/0.8429, allocations: 157.7 kB / 1.2 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.843, allocations: 31.62 kB / 1.2 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007274/0.8437, allocations: 308.1 kB / 1.201 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8437, allocations: 4 kB / 1.201 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8438, allocations: 0 / 1.201 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.8438, allocations: 4 kB / 1.201 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.8452, allocations: 0.8044 MB / 1.202 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.8452, allocations: 0 / 1.202 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.8454, allocations: 47.91 kB / 1.202 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.8454, allocations: 0 / 1.202 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.8454, allocations: 7.938 kB / 1.202 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.8454, allocations: 4 kB / 1.202 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8455, allocations: 4 kB / 1.202 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.8461, allocations: 403.4 kB / 1.202 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.8462, allocations: 132.8 kB / 1.202 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.8463, allocations: 11.94 kB / 1.202 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.8466, allocations: 15.98 kB / 1.202 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.8466, allocations: 24 kB / 1.202 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.8467, allocations: 11.94 kB / 1.202 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002198/0.8469, allocations: 231 kB / 1.202 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8469, allocations: 0 / 1.202 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005434/0.8475, allocations: 127.8 kB / 1.203 GB, free: 3.816 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.0006328/0.8481, allocations: 229.3 kB / 1.203 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.8486, allocations: 223.8 kB / 1.203 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8486, allocations: 0 / 1.203 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.8489, allocations: 111.8 kB / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000917/0.8498, allocations: 165.6 kB / 1.203 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.851, allocations: 0.7294 MB / 1.204 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.8514, allocations: 0.7836 MB / 1.205 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.8515, allocations: 35.42 kB / 1.205 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of SimCode: time 2.8e-07/0.8515, allocations: 0 / 1.205 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of Templates: time 0.01023/0.8617, allocations: 6.245 MB / 1.211 GB, free: 11.27 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches