Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008486/0.0008486, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001038/0.001038, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.9 MB / 0.666 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003542, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.753/0.7534, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1729/0.9263, allocations: 148.2 MB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.9324, allocations: 4.254 MB / 1.103 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.9326, allocations: 7.938 kB / 1.103 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.9331, allocations: 99.28 kB / 1.103 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.9343, allocations: 374.2 kB / 1.104 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.9359, allocations: 0.529 MB / 1.104 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008915/0.9368, allocations: 0.6898 MB / 1.105 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.9371, allocations: 161.2 kB / 1.105 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008791/0.938, allocations: 366.5 kB / 1.106 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.9386, allocations: 271 kB / 1.106 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.9387, allocations: 12 kB / 1.106 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.9399, allocations: 0.5183 MB / 1.106 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.971e-05/0.94, allocations: 83.7 kB / 1.106 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.9401, allocations: 69.58 kB / 1.106 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.9406, allocations: 411.1 kB / 1.107 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9406, allocations: 0 / 1.107 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9407, allocations: 0 / 1.107 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9407, allocations: 0 / 1.107 GB, free: 3.09 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009267/0.9416, allocations: 0.5622 MB / 1.107 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.9417, allocations: 8.031 kB / 1.107 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006153/0.9423, allocations: 79.59 kB / 1.107 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.9427, allocations: 287.3 kB / 1.108 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9427, allocations: 12 kB / 1.108 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.9427, allocations: 20 kB / 1.108 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.9433, allocations: 287.4 kB / 1.108 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9433, allocations: 0 / 1.108 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.9433, allocations: 8 kB / 1.108 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.9433, allocations: 4 kB / 1.108 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.9438, allocations: 223.7 kB / 1.108 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.9454, allocations: 1.249 MB / 1.109 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.9457, allocations: 177.1 kB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.9459, allocations: 124.4 kB / 1.11 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007275/0.9467, allocations: 343.1 kB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.9467, allocations: 38.56 kB / 1.11 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.9467, allocations: 0 / 1.11 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007319/0.9474, allocations: 293.2 kB / 1.11 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.9475, allocations: 166.6 kB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.9478, allocations: 283 kB / 1.111 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.9479, allocations: 29.7 kB / 1.111 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.948, allocations: 147.8 kB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.948, allocations: 47.36 kB / 1.111 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.948, allocations: 0 / 1.111 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9482, allocations: 338.8 kB / 1.111 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.9484, allocations: 76.31 kB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.9486, allocations: 144.5 kB / 1.112 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.9488, allocations: 91.95 kB / 1.112 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9488, allocations: 11.83 kB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000483/0.9493, allocations: 261.1 kB / 1.112 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9493, allocations: 4 kB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9493, allocations: 8.25 kB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.9493, allocations: 4 kB / 1.112 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.9495, allocations: 35.98 kB / 1.112 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.9496, allocations: 3.938 kB / 1.112 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.9497, allocations: 39.67 kB / 1.112 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.9498, allocations: 11.98 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.9499, allocations: 149.8 kB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.9501, allocations: 27.67 kB / 1.112 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.9506, allocations: 201.8 kB / 1.112 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.9506, allocations: 4 kB / 1.112 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9506, allocations: 0 / 1.112 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.9506, allocations: 4 kB / 1.112 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.9516, allocations: 0.8666 MB / 1.113 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.9516, allocations: 4 kB / 1.113 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.9518, allocations: 23.98 kB / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.9518, allocations: 0 / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.9518, allocations: 4 kB / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.9518, allocations: 0 / 1.113 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9518, allocations: 4 kB / 1.113 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.9524, allocations: 363.3 kB / 1.114 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.9525, allocations: 120.7 kB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.9526, allocations: 4 kB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.9527, allocations: 16.02 kB / 1.114 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.9528, allocations: 15.92 kB / 1.114 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-06/0.9528, allocations: 12.02 kB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002266/0.953, allocations: 229.9 kB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.953, allocations: 0 / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004367/0.9535, allocations: 92 kB / 1.114 GB, free: 11.05 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004898/0.954, allocations: 203.4 kB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.9544, allocations: 155.8 kB / 1.114 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9544, allocations: 0 / 1.114 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.9545, allocations: 68.66 kB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007282/0.9553, allocations: 124.1 kB / 1.115 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/0.9563, allocations: 0.5673 MB / 1.115 GB, free: 9.898 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.9567, allocations: 0.7638 MB / 1.116 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.9569, allocations: 63.09 kB / 1.116 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.957, allocations: 23.44 kB / 1.116 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of SimCode: time 1.834e-06/0.957, allocations: 0 / 1.116 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of Templates: time 0.009787/0.9668, allocations: 5.285 MB / 1.121 GB, free: 3.805 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches