Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005991/0.005991, allocations: 99.53 kB / 15.73 MB, free: 6.016 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.001167/0.001167, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.672/2.672, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9931/0.9945, allocations: 159.1 MB / 1.221 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.187/1.181, allocations: 163.7 MB / 1.38 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005563/1.187, allocations: 4.583 MB / 1.385 GB, free: 9.25 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/1.187, allocations: 15.88 kB / 1.385 GB, free: 9.234 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004677/1.188, allocations: 115.1 kB / 1.385 GB, free: 9.121 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/1.189, allocations: 0.564 MB / 1.386 GB, free: 8.555 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/1.191, allocations: 0.7814 MB / 1.386 GB, free: 7.773 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007673/1.192, allocations: 0.569 MB / 1.387 GB, free: 7.199 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/1.192, allocations: 193.1 kB / 1.387 GB, free: 7.008 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009441/1.193, allocations: 474.2 kB / 1.388 GB, free: 6.543 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/1.194, allocations: 298.8 kB / 1.388 GB, free: 6.25 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/1.194, allocations: 20 kB / 1.388 GB, free: 6.23 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/1.195, allocations: 1.002 MB / 1.389 GB, free: 5.227 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/1.196, allocations: 99.64 kB / 1.389 GB, free: 5.129 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/1.196, allocations: 127.4 kB / 1.389 GB, free: 5.004 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/1.197, allocations: 0.7056 MB / 1.39 GB, free: 4.301 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.197, allocations: 0 / 1.39 GB, free: 4.301 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.062e-06/1.197, allocations: 0 / 1.39 GB, free: 4.301 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.244e-06/1.197, allocations: 3.938 kB / 1.39 GB, free: 4.297 MB / 1.107 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.000855/1.198, allocations: 0.6067 MB / 1.39 GB, free: 3.641 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.198, allocations: 12.03 kB / 1.39 GB, free: 3.629 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006645/1.198, allocations: 79.69 kB / 1.39 GB, free: 3.551 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/1.199, allocations: 299.5 kB / 1.391 GB, free: 3.219 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/1.199, allocations: 12 kB / 1.391 GB, free: 3.207 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/1.199, allocations: 20 kB / 1.391 GB, free: 3.188 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/1.199, allocations: 287.4 kB / 1.391 GB, free: 2.879 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.199, allocations: 0 / 1.391 GB, free: 2.879 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/1.199, allocations: 11.94 kB / 1.391 GB, free: 2.867 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.199, allocations: 11.92 kB / 1.391 GB, free: 2.855 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/1.2, allocations: 211.7 kB / 1.391 GB, free: 2.648 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/1.201, allocations: 1.249 MB / 1.392 GB, free: 1.32 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/1.201, allocations: 176.9 kB / 1.393 GB, free: 1.102 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/1.202, allocations: 108.2 kB / 1.393 GB, free: 0.9805 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007353/1.202, allocations: 331.2 kB / 1.393 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/1.202, allocations: 42.69 kB / 1.393 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/1.202, allocations: 0 / 1.393 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0007169/1.203, allocations: 273.3 kB / 1.393 GB, free: 284 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/1.203, allocations: 162.6 kB / 1.394 GB, free: 84 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/1.203, allocations: 291 kB / 1.394 GB, free: 15.79 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/1.204, allocations: 29.7 kB / 1.394 GB, free: 15.76 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/1.204, allocations: 148 kB / 1.394 GB, free: 15.61 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/1.204, allocations: 47.58 kB / 1.394 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/1.204, allocations: 41.7 kB / 1.394 GB, free: 15.52 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.204, allocations: 342.8 kB / 1.394 GB, free: 15.17 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.204, allocations: 71.84 kB / 1.394 GB, free: 15.1 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/1.204, allocations: 150.5 kB / 1.395 GB, free: 14.93 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/1.205, allocations: 199.6 kB / 1.395 GB, free: 14.7 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.205, allocations: 7.938 kB / 1.395 GB, free: 14.7 MB / 1.123 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004789/1.205, allocations: 245.2 kB / 1.395 GB, free: 14.45 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.205, allocations: 8 kB / 1.395 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.205, allocations: 0 / 1.395 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.205, allocations: 4 kB / 1.395 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/1.205, allocations: 31.98 kB / 1.395 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.205, allocations: 12.17 kB / 1.395 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/1.205, allocations: 35.78 kB / 1.395 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/1.206, allocations: 15.92 kB / 1.395 GB, free: 14.34 MB / 1.123 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.0001482/1.206, allocations: 145.8 kB / 1.395 GB, free: 14.19 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/1.206, allocations: 32.19 kB / 1.395 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/1.206, allocations: 193.7 kB / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.206, allocations: 0 / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.206, allocations: 4 kB / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.206, allocations: 0 / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/1.207, allocations: 0.8588 MB / 1.396 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.207, allocations: 4 kB / 1.396 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.207, allocations: 20.11 kB / 1.396 GB, free: 12.99 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.207, allocations: 12.09 kB / 1.396 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/1.207, allocations: 7.938 kB / 1.396 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.207, allocations: 4 kB / 1.396 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.207, allocations: 0 / 1.396 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/1.208, allocations: 343.5 kB / 1.397 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/1.208, allocations: 108.9 kB / 1.397 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/1.208, allocations: 7.984 kB / 1.397 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/1.208, allocations: 8 kB / 1.397 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/1.208, allocations: 16.05 kB / 1.397 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/1.208, allocations: 4 kB / 1.397 GB, free: 12.44 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002169/1.209, allocations: 233.9 kB / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.209, allocations: 0 / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004906/1.209, allocations: 103.8 kB / 1.397 GB, free: 12.11 MB / 1.123 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.0005751/1.21, allocations: 223.6 kB / 1.397 GB, free: 11.89 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003727/1.21, allocations: 155.8 kB / 1.398 GB, free: 11.74 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.21, allocations: 0 / 1.398 GB, free: 11.74 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/1.21, allocations: 60.72 kB / 1.398 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/1.211, allocations: 128.5 kB / 1.398 GB, free: 11.55 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/1.212, allocations: 0.4916 MB / 1.398 GB, free: 11.02 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/1.212, allocations: 0.7558 MB / 1.399 GB, free: 10.24 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001665/1.212, allocations: 74.81 kB / 1.399 GB, free: 10.16 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/1.212, allocations: 23.44 kB / 1.399 GB, free: 10.14 MB / 1.123 GB Notification: Performance of SimCode: time 8.42e-07/1.212, allocations: 0 / 1.399 GB, free: 10.14 MB / 1.123 GB Notification: Performance of Templates: time 0.01082/1.223, allocations: 5.845 MB / 1.405 GB, free: 4.363 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches