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.001704/0.001704, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002356/0.002356, allocations: 213.6 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.001/3.001, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 70.14 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.373, allocations: 169.9 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2007/0.5737, allocations: 143.9 MB / 1.424 GB, free: 11.45 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006462/0.5802, allocations: 4.216 MB / 1.428 GB, free: 7.227 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004435/0.5806, allocations: 15.88 kB / 1.428 GB, free: 7.211 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.5812, allocations: 139.1 kB / 1.428 GB, free: 7.074 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.5827, allocations: 0.564 MB / 1.428 GB, free: 6.508 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.5848, allocations: 0.7924 MB / 1.429 GB, free: 5.715 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0008149/0.5856, allocations: 0.5885 MB / 1.43 GB, free: 5.121 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.586, allocations: 165.3 kB / 1.43 GB, free: 4.961 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.5871, allocations: 482.2 kB / 1.43 GB, free: 4.488 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.5877, allocations: 306.7 kB / 1.431 GB, free: 4.188 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.5878, allocations: 20 kB / 1.431 GB, free: 4.168 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.5895, allocations: 0.8493 MB / 1.431 GB, free: 3.316 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.5896, allocations: 91.72 kB / 1.432 GB, free: 3.227 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.5897, allocations: 107.5 kB / 1.432 GB, free: 3.121 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.5908, allocations: 0.6815 MB / 1.432 GB, free: 2.438 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5908, allocations: 0 / 1.432 GB, free: 2.438 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5908, allocations: 0 / 1.432 GB, free: 2.438 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.383e-05/0.5908, allocations: 0 / 1.432 GB, free: 2.438 MB / 1.123 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.0009925/0.5918, allocations: 0.5274 MB / 1.433 GB, free: 1.879 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5919, allocations: 8.031 kB / 1.433 GB, free: 1.871 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006575/0.5925, allocations: 83.7 kB / 1.433 GB, free: 1.789 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.593, allocations: 237.7 kB / 1.433 GB, free: 1.531 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.593, allocations: 19.95 kB / 1.433 GB, free: 1.512 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.5931, allocations: 16 kB / 1.433 GB, free: 1.496 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.5936, allocations: 287.2 kB / 1.433 GB, free: 1.188 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5936, allocations: 4 kB / 1.433 GB, free: 1.184 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.5937, allocations: 8 kB / 1.433 GB, free: 1.176 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.5937, allocations: 11.94 kB / 1.433 GB, free: 1.164 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.5941, allocations: 211.7 kB / 1.434 GB, free: 0.957 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.5958, allocations: 1.093 MB / 1.435 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.5961, allocations: 173 kB / 1.435 GB, free: 15.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.5963, allocations: 108.2 kB / 1.435 GB, free: 15.47 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.597, allocations: 103.9 kB / 1.435 GB, free: 15.37 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/0.597, allocations: 42.69 kB / 1.435 GB, free: 15.32 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.597, allocations: 0 / 1.435 GB, free: 15.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.000808/0.5978, allocations: 273.8 kB / 1.435 GB, free: 15.04 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.5979, allocations: 158.2 kB / 1.436 GB, free: 14.85 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.5982, allocations: 203.5 kB / 1.436 GB, free: 14.64 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.5982, allocations: 25.7 kB / 1.436 GB, free: 14.61 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5983, allocations: 168.3 kB / 1.436 GB, free: 14.45 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.5984, allocations: 43.64 kB / 1.436 GB, free: 14.4 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.5985, allocations: 53.5 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.5987, allocations: 330.8 kB / 1.436 GB, free: 14.01 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.5988, allocations: 67.94 kB / 1.436 GB, free: 13.95 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.5992, allocations: 249.4 kB / 1.437 GB, free: 13.65 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.5996, allocations: 211.5 kB / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.5996, allocations: 8 kB / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005295/0.6001, allocations: 237.3 kB / 1.437 GB, free: 13.17 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6001, allocations: 8 kB / 1.437 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.6002, allocations: 0 / 1.437 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.6002, allocations: 4 kB / 1.437 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.6004, allocations: 44.17 kB / 1.437 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6004, allocations: 7.984 kB / 1.437 GB, free: 13.11 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.6006, allocations: 15.89 kB / 1.437 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.6006, allocations: 19.98 kB / 1.437 GB, free: 13.07 MB / 1.139 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.000164/0.6008, allocations: 145.7 kB / 1.437 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.6009, allocations: 19.91 kB / 1.437 GB, free: 12.9 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.6014, allocations: 193.3 kB / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6014, allocations: 0 / 1.438 GB, free: 12.69 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6014, allocations: 4 kB / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6014, allocations: 0 / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.6025, allocations: 0.7766 MB / 1.438 GB, free: 11.85 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6025, allocations: 4 kB / 1.438 GB, free: 11.85 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.6027, allocations: 19.98 kB / 1.438 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6027, allocations: 4 kB / 1.438 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.6027, allocations: 0 / 1.438 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.6027, allocations: 7.938 kB / 1.438 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6027, allocations: 128 / 1.438 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.6034, allocations: 351.6 kB / 1.439 GB, free: 11.44 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.6034, allocations: 27.83 kB / 1.439 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.6035, allocations: 7.953 kB / 1.439 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.6036, allocations: 15.92 kB / 1.439 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.6037, allocations: 7.984 kB / 1.439 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.6037, allocations: 4 kB / 1.439 GB, free: 11.38 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001977/0.6039, allocations: 172.5 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.6039, allocations: 4.062 kB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000563/0.6044, allocations: 107.8 kB / 1.439 GB, free: 11.1 MB / 1.139 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.0004709/0.6049, allocations: 202.9 kB / 1.439 GB, free: 10.89 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004309/0.6053, allocations: 152 kB / 1.439 GB, free: 10.74 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6053, allocations: 0 / 1.439 GB, free: 10.74 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.6055, allocations: 55.91 kB / 1.439 GB, free: 10.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.6061, allocations: 77.55 kB / 1.439 GB, free: 10.61 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009692/0.607, allocations: 0.4886 MB / 1.44 GB, free: 10.09 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.6072, allocations: 149.8 kB / 1.44 GB, free: 9.922 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.6074, allocations: 49.61 kB / 1.44 GB, free: 9.871 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.6074, allocations: 27.38 kB / 1.44 GB, free: 9.844 MB / 1.139 GB Notification: Performance of SimCode: time 4.31e-07/0.6074, allocations: 0 / 1.44 GB, free: 9.844 MB / 1.139 GB Notification: Performance of Templates: time 0.01043/0.6179, allocations: 4.682 MB / 1.445 GB, free: 5.25 MB / 1.139 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: 10.171866288408637]