Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_10_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_10_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.00196/0.001959, allocations: 101 kB / 16.35 MB, free: 6.285 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.001597/0.001597, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.573/2.573, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.94 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3629, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8346/1.198, allocations: 163.2 MB / 1.178 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005875/1.203, allocations: 4.572 MB / 1.183 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/1.204, allocations: 10.25 kB / 1.183 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004456/1.204, allocations: 125.4 kB / 1.183 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/1.206, allocations: 0.5402 MB / 1.183 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/1.208, allocations: 0.7699 MB / 1.184 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008384/1.209, allocations: 0.579 MB / 1.185 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/1.209, allocations: 214.3 kB / 1.185 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/1.21, allocations: 465.6 kB / 1.185 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005967/1.211, allocations: 283 kB / 1.186 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/1.211, allocations: 17.88 kB / 1.186 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/1.213, allocations: 1.005 MB / 1.187 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/1.213, allocations: 94.59 kB / 1.187 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/1.213, allocations: 125 kB / 1.187 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/1.214, allocations: 0.7089 MB / 1.187 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.749e-05/1.214, allocations: 5.391 kB / 1.187 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/1.214, allocations: 0 / 1.187 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.214, allocations: 0 / 1.187 GB, free: 4.039 MB / 0.8887 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.001076/1.215, allocations: 0.5943 MB / 1.188 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.215, allocations: 10.2 kB / 1.188 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006739/1.216, allocations: 79.55 kB / 1.188 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/1.217, allocations: 296.8 kB / 1.188 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/1.217, allocations: 15.81 kB / 1.188 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/1.217, allocations: 17.56 kB / 1.188 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/1.217, allocations: 291.3 kB / 1.189 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.217, allocations: 1.125 kB / 1.189 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/1.217, allocations: 10.34 kB / 1.189 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.217, allocations: 7.938 kB / 1.189 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/1.218, allocations: 209.2 kB / 1.189 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/1.219, allocations: 1.238 MB / 1.19 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/1.22, allocations: 178.8 kB / 1.19 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/1.22, allocations: 109.6 kB / 1.19 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007012/1.221, allocations: 334 kB / 1.191 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.221, allocations: 42.19 kB / 1.191 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/1.221, allocations: 0 / 1.191 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.000804/1.222, allocations: 274.3 kB / 1.191 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.222, allocations: 161 kB / 1.191 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/1.222, allocations: 291.2 kB / 1.191 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/1.222, allocations: 32.23 kB / 1.191 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/1.222, allocations: 150.8 kB / 1.192 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/1.222, allocations: 48.97 kB / 1.192 GB, free: 360 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/1.222, allocations: 42.42 kB / 1.192 GB, free: 328 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00024/1.223, allocations: 338.6 kB / 1.192 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/1.223, allocations: 63.52 kB / 1.192 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/1.223, allocations: 145.5 kB / 1.192 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/1.223, allocations: 213.4 kB / 1.192 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.223, allocations: 0 / 1.192 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004676/1.224, allocations: 248.3 kB / 1.193 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.224, allocations: 5.219 kB / 1.193 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.224, allocations: 2.531 kB / 1.193 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.224, allocations: 2.469 kB / 1.193 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/1.224, allocations: 44.47 kB / 1.193 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/1.224, allocations: 3.5 kB / 1.193 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/1.224, allocations: 32.36 kB / 1.193 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/1.224, allocations: 8.188 kB / 1.193 GB, free: 15.52 MB / 0.9044 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.0001297/1.224, allocations: 151.9 kB / 1.193 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/1.225, allocations: 27.77 kB / 1.193 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/1.225, allocations: 197.2 kB / 1.193 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.225, allocations: 1.656 kB / 1.193 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/1.225, allocations: 1.531 kB / 1.193 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/1.225, allocations: 5.609 kB / 1.193 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/1.226, allocations: 0.8489 MB / 1.194 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.226, allocations: 2.156 kB / 1.194 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.226, allocations: 20.27 kB / 1.194 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/1.226, allocations: 11.11 kB / 1.194 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.226, allocations: 7.312 kB / 1.194 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.226, allocations: 0 / 1.194 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.226, allocations: 2.156 kB / 1.194 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/1.227, allocations: 341.7 kB / 1.194 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.227, allocations: 112.7 kB / 1.194 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/1.227, allocations: 6.656 kB / 1.194 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/1.227, allocations: 14.36 kB / 1.194 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/1.227, allocations: 3.969 kB / 1.194 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/1.227, allocations: 16.8 kB / 1.194 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003036/1.228, allocations: 236.2 kB / 1.195 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.228, allocations: 0 / 1.195 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004887/1.228, allocations: 92.66 kB / 1.195 GB, free: 13.81 MB / 0.9044 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.0006286/1.229, allocations: 228.8 kB / 1.195 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004091/1.229, allocations: 151 kB / 1.195 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.229, allocations: 7.938 kB / 1.195 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/1.229, allocations: 66.36 kB / 1.195 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/1.23, allocations: 124.1 kB / 1.195 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/1.231, allocations: 0.4883 MB / 1.196 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/1.231, allocations: 0.7603 MB / 1.197 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001686/1.231, allocations: 63.5 kB / 1.197 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/1.231, allocations: 33.41 kB / 1.197 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/1.231, allocations: 0 / 1.197 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of Templates: time 0.01049/1.242, allocations: 5.805 MB / 1.202 GB, free: 9.453 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches