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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00119/0.00119, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001234/0.001234, allocations: 187 kB / 17.34 MB, free: 5.723 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.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 0.9515 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.838/0.8393, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2024/1.042, allocations: 163.2 MB / 1.248 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006681/1.049, allocations: 4.572 MB / 1.253 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005318/1.049, allocations: 11.94 kB / 1.253 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005493/1.05, allocations: 119 kB / 1.253 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/1.051, allocations: 0.5406 MB / 1.253 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/1.054, allocations: 0.7697 MB / 1.254 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009312/1.055, allocations: 0.5846 MB / 1.254 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/1.055, allocations: 205.2 kB / 1.255 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/1.056, allocations: 466.2 kB / 1.255 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/1.057, allocations: 298.9 kB / 1.255 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/1.057, allocations: 20 kB / 1.255 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/1.059, allocations: 1.002 MB / 1.256 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/1.059, allocations: 87.72 kB / 1.256 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/1.059, allocations: 123.4 kB / 1.257 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/1.061, allocations: 0.711 MB / 1.257 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.061, allocations: 4 kB / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/1.061, allocations: 0 / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.458e-06/1.061, allocations: 0 / 1.257 GB, free: 0.9727 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001232/1.062, allocations: 0.5957 MB / 1.258 GB, free: 336 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.062, allocations: 8.031 kB / 1.258 GB, free: 328 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007557/1.063, allocations: 75.59 kB / 1.258 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/1.063, allocations: 307.5 kB / 1.258 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/1.063, allocations: 16 kB / 1.258 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/1.063, allocations: 16 kB / 1.258 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/1.064, allocations: 283.4 kB / 1.259 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.064, allocations: 0 / 1.259 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/1.064, allocations: 12 kB / 1.259 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.064, allocations: 7.938 kB / 1.259 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/1.064, allocations: 207.7 kB / 1.259 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/1.066, allocations: 1.238 MB / 1.26 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/1.066, allocations: 173 kB / 1.26 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/1.067, allocations: 120.2 kB / 1.26 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/1.067, allocations: 331.2 kB / 1.261 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/1.067, allocations: 42.69 kB / 1.261 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/1.067, allocations: 0 / 1.261 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007698/1.068, allocations: 273.5 kB / 1.261 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/1.068, allocations: 166.1 kB / 1.261 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/1.069, allocations: 283 kB / 1.261 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/1.069, allocations: 29.7 kB / 1.261 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.069, allocations: 143.9 kB / 1.261 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/1.069, allocations: 47.42 kB / 1.262 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/1.069, allocations: 45.7 kB / 1.262 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.069, allocations: 338.8 kB / 1.262 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/1.069, allocations: 71.84 kB / 1.262 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/1.069, allocations: 144.5 kB / 1.262 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/1.07, allocations: 211.5 kB / 1.262 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.07, allocations: 3.984 kB / 1.262 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005186/1.07, allocations: 245.2 kB / 1.263 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.07, allocations: 8 kB / 1.263 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/1.07, allocations: 0 / 1.263 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.07, allocations: 4 kB / 1.263 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/1.071, allocations: 43.95 kB / 1.263 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/1.071, allocations: 4 kB / 1.263 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/1.071, allocations: 31.81 kB / 1.263 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/1.071, allocations: 15.94 kB / 1.263 GB, free: 11.05 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.071, allocations: 153.8 kB / 1.263 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/1.071, allocations: 31.62 kB / 1.263 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/1.072, allocations: 194.1 kB / 1.263 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.072, allocations: 0 / 1.263 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.072, allocations: 4 kB / 1.263 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.072, allocations: 0 / 1.263 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009974/1.073, allocations: 0.8472 MB / 1.264 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/1.073, allocations: 0 / 1.264 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.073, allocations: 23.92 kB / 1.264 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.073, allocations: 7.938 kB / 1.264 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/1.073, allocations: 3.938 kB / 1.264 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.073, allocations: 4 kB / 1.264 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.073, allocations: 0 / 1.264 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/1.074, allocations: 347.5 kB / 1.264 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.074, allocations: 124.6 kB / 1.264 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/1.074, allocations: 4 kB / 1.264 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/1.074, allocations: 4.125 kB / 1.264 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/1.074, allocations: 15.98 kB / 1.264 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.074, allocations: 8 kB / 1.264 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002337/1.074, allocations: 229.9 kB / 1.265 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.074, allocations: 4 kB / 1.265 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004821/1.075, allocations: 99.98 kB / 1.265 GB, free: 8.812 MB / 0.9981 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 (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.00057/1.075, allocations: 204.1 kB / 1.265 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004331/1.076, allocations: 155.7 kB / 1.265 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.076, allocations: 4.094 kB / 1.265 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/1.076, allocations: 59.84 kB / 1.265 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007858/1.077, allocations: 149.3 kB / 1.265 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008835/1.078, allocations: 0.5213 MB / 1.266 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/1.078, allocations: 0.7558 MB / 1.266 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/1.078, allocations: 27.44 kB / 1.266 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.078, allocations: 0 / 1.266 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of Templates: time 0.009031/1.087, allocations: 5.237 MB / 1.272 GB, free: 1.672 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches