Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_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_latest_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.008101/0.008101, allocations: 104.2 kB / 15.74 MB, free: 6.039 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.001742/0.001742, allocations: 200 kB / 16.68 MB, free: 5.953 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.366/1.366, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 1.054 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8847/0.8859, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1792/1.065, allocations: 163.2 MB / 1.367 GB, free: 9.719 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005629/1.071, allocations: 4.572 MB / 1.372 GB, free: 5.137 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003826/1.071, allocations: 15.88 kB / 1.372 GB, free: 5.121 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000453/1.072, allocations: 119.1 kB / 1.372 GB, free: 5.004 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/1.073, allocations: 0.5484 MB / 1.372 GB, free: 4.453 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/1.075, allocations: 0.7623 MB / 1.373 GB, free: 3.691 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0007626/1.076, allocations: 0.5768 MB / 1.374 GB, free: 3.113 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/1.076, allocations: 213.1 kB / 1.374 GB, free: 2.902 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/1.077, allocations: 474.2 kB / 1.374 GB, free: 2.438 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/1.078, allocations: 286.8 kB / 1.375 GB, free: 2.156 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/1.078, allocations: 20 kB / 1.375 GB, free: 2.137 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/1.08, allocations: 1.002 MB / 1.376 GB, free: 1.133 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/1.08, allocations: 91.7 kB / 1.376 GB, free: 1.043 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/1.08, allocations: 131.3 kB / 1.376 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009997/1.081, allocations: 0.711 MB / 1.376 GB, free: 208 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.081, allocations: 0 / 1.376 GB, free: 208 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.385e-06/1.081, allocations: 3.938 kB / 1.376 GB, free: 204 kB / 1.092 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.081, allocations: 0 / 1.376 GB, free: 204 kB / 1.092 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.001079/1.082, allocations: 0.588 MB / 1.377 GB, free: 15.56 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.082, allocations: 12.03 kB / 1.377 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006835/1.083, allocations: 79.5 kB / 1.377 GB, free: 15.47 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/1.083, allocations: 299.3 kB / 1.377 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/1.083, allocations: 12 kB / 1.377 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/1.083, allocations: 20 kB / 1.377 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/1.084, allocations: 283.4 kB / 1.378 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.084, allocations: 3.938 kB / 1.378 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/1.084, allocations: 11.98 kB / 1.378 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.084, allocations: 7.938 kB / 1.378 GB, free: 14.78 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/1.084, allocations: 207.7 kB / 1.378 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/1.086, allocations: 1.245 MB / 1.379 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/1.086, allocations: 181 kB / 1.379 GB, free: 13.03 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/1.087, allocations: 108.2 kB / 1.379 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/1.087, allocations: 331.2 kB / 1.38 GB, free: 12.53 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.087, allocations: 42.69 kB / 1.38 GB, free: 12.48 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/1.087, allocations: 0 / 1.38 GB, free: 12.48 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0008442/1.088, allocations: 281 kB / 1.38 GB, free: 12.2 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.088, allocations: 158.7 kB / 1.38 GB, free: 12.01 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/1.089, allocations: 287 kB / 1.38 GB, free: 11.71 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/1.089, allocations: 25.7 kB / 1.38 GB, free: 11.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.089, allocations: 147.8 kB / 1.381 GB, free: 11.54 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/1.089, allocations: 51.38 kB / 1.381 GB, free: 11.48 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/1.089, allocations: 45.61 kB / 1.381 GB, free: 11.43 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.089, allocations: 334.8 kB / 1.381 GB, free: 11.1 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/1.089, allocations: 67.94 kB / 1.381 GB, free: 11.03 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/1.09, allocations: 156.4 kB / 1.381 GB, free: 10.85 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/1.09, allocations: 215.5 kB / 1.381 GB, free: 10.61 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.09, allocations: 0 / 1.381 GB, free: 10.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005176/1.09, allocations: 241.1 kB / 1.382 GB, free: 10.37 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/1.091, allocations: 10.03 kB / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.091, allocations: 0 / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.091, allocations: 4 kB / 1.382 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/1.091, allocations: 36.22 kB / 1.382 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.091, allocations: 11.94 kB / 1.382 GB, free: 10.31 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/1.091, allocations: 31.73 kB / 1.382 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/1.091, allocations: 11.94 kB / 1.382 GB, free: 10.27 MB / 1.107 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.0001661/1.091, allocations: 150.1 kB / 1.382 GB, free: 10.11 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/1.091, allocations: 23.77 kB / 1.382 GB, free: 10.09 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/1.092, allocations: 197.7 kB / 1.382 GB, free: 9.871 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.092, allocations: 0 / 1.382 GB, free: 9.871 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.092, allocations: 4 kB / 1.382 GB, free: 9.867 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.092, allocations: 0 / 1.382 GB, free: 9.867 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/1.093, allocations: 0.8548 MB / 1.383 GB, free: 8.938 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.093, allocations: 0 / 1.383 GB, free: 8.938 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/1.093, allocations: 24.27 kB / 1.383 GB, free: 8.914 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/1.093, allocations: 15.94 kB / 1.383 GB, free: 8.898 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/1.093, allocations: 4 kB / 1.383 GB, free: 8.895 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.093, allocations: 0 / 1.383 GB, free: 8.895 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.093, allocations: 7.922 kB / 1.383 GB, free: 8.887 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/1.094, allocations: 335.4 kB / 1.383 GB, free: 8.527 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/1.094, allocations: 120.7 kB / 1.383 GB, free: 8.391 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/1.094, allocations: 0 / 1.383 GB, free: 8.391 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/1.094, allocations: 8 kB / 1.383 GB, free: 8.383 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/1.094, allocations: 16.05 kB / 1.383 GB, free: 8.367 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/1.094, allocations: 4 kB / 1.383 GB, free: 8.363 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000227/1.094, allocations: 233.9 kB / 1.384 GB, free: 8.141 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.094, allocations: 0 / 1.384 GB, free: 8.141 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004867/1.095, allocations: 95.92 kB / 1.384 GB, free: 8.047 MB / 1.107 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.000544/1.095, allocations: 221.6 kB / 1.384 GB, free: 7.828 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004072/1.096, allocations: 147.8 kB / 1.384 GB, free: 7.684 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.096, allocations: 4 kB / 1.384 GB, free: 7.68 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/1.096, allocations: 60.59 kB / 1.384 GB, free: 7.621 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/1.097, allocations: 138.5 kB / 1.384 GB, free: 7.488 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008893/1.098, allocations: 0.4919 MB / 1.385 GB, free: 6.953 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/1.098, allocations: 0.7518 MB / 1.386 GB, free: 6.176 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001825/1.098, allocations: 78.8 kB / 1.386 GB, free: 6.102 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/1.098, allocations: 27.44 kB / 1.386 GB, free: 6.078 MB / 1.107 GB Notification: Performance of SimCode: time 2.41e-07/1.098, allocations: 0 / 1.386 GB, free: 6.078 MB / 1.107 GB Notification: Performance of Templates: time 0.01044/1.109, allocations: 5.828 MB / 1.391 GB, free: 328 kB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches