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.001084/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001247/0.001247, allocations: 192.8 kB / 16.13 MB, free: 6.645 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.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.421/2.421, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6907/0.6921, allocations: 140.3 MB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1792/0.8713, allocations: 161 MB / 1.106 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007032/0.8784, allocations: 4.633 MB / 1.111 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005161/0.879, allocations: 7.938 kB / 1.111 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.8795, allocations: 95.36 kB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.8813, allocations: 0.5058 MB / 1.111 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.8837, allocations: 0.7163 MB / 1.112 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.8848, allocations: 0.8108 MB / 1.113 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.8852, allocations: 181.4 kB / 1.113 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.8864, allocations: 422.4 kB / 1.113 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006916/0.8871, allocations: 294.9 kB / 1.114 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.8872, allocations: 12 kB / 1.114 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.8894, allocations: 1.165 MB / 1.115 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.8895, allocations: 75.78 kB / 1.115 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.8898, allocations: 119.4 kB / 1.115 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.8915, allocations: 0.7791 MB / 1.116 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8915, allocations: 0 / 1.116 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8915, allocations: 0 / 1.116 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.8915, allocations: 0 / 1.116 GB, free: 6.719 MB / 0.8731 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.001427/0.893, allocations: 0.5957 MB / 1.116 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.893, allocations: 12.03 kB / 1.116 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008439/0.8939, allocations: 79.58 kB / 1.116 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.8944, allocations: 287.2 kB / 1.117 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.8944, allocations: 16 kB / 1.117 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.8945, allocations: 24 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.8951, allocations: 279.4 kB / 1.117 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.8951, allocations: 0 / 1.117 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.8951, allocations: 8 kB / 1.117 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.8951, allocations: 15.88 kB / 1.117 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.8956, allocations: 203.8 kB / 1.117 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.8974, allocations: 1.253 MB / 1.118 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.8977, allocations: 169 kB / 1.119 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.8979, allocations: 112.4 kB / 1.119 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008482/0.8988, allocations: 335.1 kB / 1.119 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.8989, allocations: 34.56 kB / 1.119 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/0.8989, allocations: 0 / 1.119 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0008034/0.8997, allocations: 285 kB / 1.119 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.8998, allocations: 158.2 kB / 1.119 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.9001, allocations: 287 kB / 1.12 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.9001, allocations: 25.7 kB / 1.12 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.9002, allocations: 152.3 kB / 1.12 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.9003, allocations: 55.3 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-05/0.9004, allocations: 41.7 kB / 1.12 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9005, allocations: 334.8 kB / 1.12 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.9007, allocations: 71.88 kB / 1.12 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.901, allocations: 148.5 kB / 1.12 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.9014, allocations: 215.5 kB / 1.121 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9014, allocations: 0 / 1.121 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005519/0.9019, allocations: 245.2 kB / 1.121 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.902, allocations: 8 kB / 1.121 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.902, allocations: 0 / 1.121 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.902, allocations: 4 kB / 1.121 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.9022, allocations: 35.92 kB / 1.121 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.9022, allocations: 7.984 kB / 1.121 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.9025, allocations: 27.75 kB / 1.121 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.9025, allocations: 20.11 kB / 1.121 GB, free: 0.7812 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.9027, allocations: 153.7 kB / 1.121 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.9028, allocations: 23.72 kB / 1.121 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.9034, allocations: 202 kB / 1.121 GB, free: 396 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9034, allocations: 4 kB / 1.121 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.9034, allocations: 0 / 1.121 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9034, allocations: 0 / 1.121 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.9045, allocations: 0.8549 MB / 1.122 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9046, allocations: 0 / 1.122 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.9047, allocations: 27.92 kB / 1.122 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.9047, allocations: 3.938 kB / 1.122 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.9047, allocations: 4.156 kB / 1.122 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.9047, allocations: 4 kB / 1.122 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9047, allocations: 4.047 kB / 1.122 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.9054, allocations: 339.4 kB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.9055, allocations: 120.7 kB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.9056, allocations: 7.984 kB / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.9058, allocations: 8 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.9058, allocations: 11.92 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.9059, allocations: 4.062 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002762/0.9061, allocations: 241.9 kB / 1.123 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9061, allocations: 0 / 1.123 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005739/0.9067, allocations: 95.83 kB / 1.123 GB, free: 14.55 MB / 0.8887 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.0007339/0.9075, allocations: 212.8 kB / 1.123 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.9079, allocations: 147.8 kB / 1.123 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9079, allocations: 0 / 1.123 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.9081, allocations: 56.53 kB / 1.123 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.909, allocations: 139.8 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.9099, allocations: 0.5599 MB / 1.124 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.9103, allocations: 0.756 MB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.9105, allocations: 66.88 kB / 1.125 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.9106, allocations: 19.44 kB / 1.125 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of SimCode: time 7.41e-07/0.9106, allocations: 4 kB / 1.125 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of Templates: time 0.01149/0.9221, allocations: 5.582 MB / 1.13 GB, free: 7.02 MB / 0.8887 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