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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008286/0.0008286, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8693/0.8693, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.718/1.718, allocations: 359 MB / 0.6044 GB, free: 11.14 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.699e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7015/0.7015, allocations: 143.8 MB / 1.092 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.7052, allocations: 4.213 MB / 1.096 GB, free: 39.22 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.7056, allocations: 16.06 kB / 1.096 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.7061, allocations: 131 kB / 1.096 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.7072, allocations: 0.5766 MB / 1.097 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.7088, allocations: 0.8329 MB / 1.098 GB, free: 38.82 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005371/0.7093, allocations: 0.581 MB / 1.098 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.7096, allocations: 163.6 kB / 1.099 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.7103, allocations: 0.5431 MB / 1.099 GB, free: 38.37 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.7108, allocations: 287.6 kB / 1.099 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.7108, allocations: 19.81 kB / 1.099 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.7119, allocations: 0.8535 MB / 1.1 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.7119, allocations: 100.4 kB / 1.1 GB, free: 38.05 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.712, allocations: 83.09 kB / 1.1 GB, free: 38.03 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008478/0.7129, allocations: 0.7307 MB / 1.101 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7129, allocations: 8.562 kB / 1.101 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7129, allocations: 0 / 1.101 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.7129, allocations: 0.6875 kB / 1.101 GB, free: 37.84 MB / 0.9948 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.0007578/0.7136, allocations: 0.5319 MB / 1.102 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.7137, allocations: 9.562 kB / 1.102 GB, free: 37.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.7141, allocations: 80.33 kB / 1.102 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.7144, allocations: 242 kB / 1.102 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.7144, allocations: 12.06 kB / 1.102 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.7145, allocations: 17.34 kB / 1.102 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.7149, allocations: 287 kB / 1.102 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7149, allocations: 0.5 kB / 1.102 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.7149, allocations: 6.594 kB / 1.102 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.7149, allocations: 4.781 kB / 1.102 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.7153, allocations: 215.5 kB / 1.102 GB, free: 36.97 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.7163, allocations: 1.094 MB / 1.104 GB, free: 36.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.7166, allocations: 174.2 kB / 1.104 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.7167, allocations: 109.7 kB / 1.104 GB, free: 35.88 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/0.7171, allocations: 110 kB / 1.104 GB, free: 35.87 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.7171, allocations: 43 kB / 1.104 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.7171, allocations: 0 / 1.104 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0005175/0.7176, allocations: 265 kB / 1.104 GB, free: 35.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.7176, allocations: 162 kB / 1.104 GB, free: 35.54 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.7178, allocations: 208.8 kB / 1.105 GB, free: 35.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.7178, allocations: 35.66 kB / 1.105 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.7179, allocations: 155.7 kB / 1.105 GB, free: 35.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.7179, allocations: 55.27 kB / 1.105 GB, free: 35.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.718, allocations: 37.3 kB / 1.105 GB, free: 35.16 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.718, allocations: 330.2 kB / 1.105 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.7181, allocations: 65.62 kB / 1.105 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.7183, allocations: 248.4 kB / 1.105 GB, free: 34.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.7185, allocations: 211.8 kB / 1.106 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7185, allocations: 1.375 kB / 1.106 GB, free: 34.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003108/0.7188, allocations: 247.5 kB / 1.106 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.7188, allocations: 6.188 kB / 1.106 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7188, allocations: 2.578 kB / 1.106 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.7188, allocations: 3.281 kB / 1.106 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.719, allocations: 39.03 kB / 1.106 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.719, allocations: 3.016 kB / 1.106 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.7191, allocations: 20.84 kB / 1.106 GB, free: 34.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.7191, allocations: 14.36 kB / 1.106 GB, free: 34.36 MB / 0.9948 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 8.688e-05/0.7192, allocations: 153.8 kB / 1.106 GB, free: 34.22 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.7193, allocations: 25.97 kB / 1.106 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.7196, allocations: 178.6 kB / 1.106 GB, free: 34.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7196, allocations: 3.141 kB / 1.106 GB, free: 34.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7196, allocations: 5.328 kB / 1.106 GB, free: 34.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7196, allocations: 2.016 kB / 1.106 GB, free: 34.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.7201, allocations: 0.7859 MB / 1.107 GB, free: 33.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7201, allocations: 2.094 kB / 1.107 GB, free: 33.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.7202, allocations: 29.72 kB / 1.107 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7202, allocations: 2.562 kB / 1.107 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.7202, allocations: 2.578 kB / 1.107 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.7202, allocations: 2.859 kB / 1.107 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7202, allocations: 1.281 kB / 1.107 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.7206, allocations: 339.6 kB / 1.107 GB, free: 33.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.7206, allocations: 28.77 kB / 1.107 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.7206, allocations: 3.516 kB / 1.108 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.7207, allocations: 7.625 kB / 1.108 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.7207, allocations: 20.27 kB / 1.108 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.7207, allocations: 4.109 kB / 1.108 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001101/0.7209, allocations: 175 kB / 1.108 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.7209, allocations: 1.094 kB / 1.108 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004094/0.7213, allocations: 107.2 kB / 1.108 GB, free: 33.04 MB / 0.9948 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.0003651/0.7216, allocations: 212 kB / 1.108 GB, free: 32.93 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.7219, allocations: 145.2 kB / 1.108 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7219, allocations: 1.656 kB / 1.108 GB, free: 32.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.354e-05/0.722, allocations: 61.11 kB / 1.108 GB, free: 32.87 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.7223, allocations: 79.75 kB / 1.108 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.7229, allocations: 483.7 kB / 1.109 GB, free: 32.5 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.7231, allocations: 149 kB / 1.109 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.7231, allocations: 27.17 kB / 1.109 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of SimCode: time 6.72e-07/0.7231, allocations: 0 / 1.109 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of Templates: time 0.007178/0.7303, allocations: 4.627 MB / 1.113 GB, free: 31.91 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.814352787099779]