Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001761/0.001761, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.002271/0.002271, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.679/1.679, allocations: 230.5 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.423/3.423, allocations: 0.4899 GB / 0.7915 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002126/0.002126, allocations: 66.33 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2064/0.574, allocations: 166.7 MB / 1.484 GB, free: 11.54 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006624/0.5806, allocations: 4.619 MB / 1.489 GB, free: 6.906 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.581, allocations: 15.88 kB / 1.489 GB, free: 6.891 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.5815, allocations: 127 kB / 1.489 GB, free: 6.766 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.5829, allocations: 0.5679 MB / 1.489 GB, free: 6.195 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.5848, allocations: 0.7821 MB / 1.49 GB, free: 5.414 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007741/0.5856, allocations: 0.5729 MB / 1.491 GB, free: 4.84 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.586, allocations: 181.2 kB / 1.491 GB, free: 4.66 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.5875, allocations: 0.681 MB / 1.491 GB, free: 3.977 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.5881, allocations: 314.8 kB / 1.492 GB, free: 3.668 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.5881, allocations: 20 kB / 1.492 GB, free: 3.648 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.5899, allocations: 1.072 MB / 1.493 GB, free: 2.574 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.5901, allocations: 95.72 kB / 1.493 GB, free: 2.48 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.5902, allocations: 127.3 kB / 1.493 GB, free: 2.355 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.5914, allocations: 0.7166 MB / 1.494 GB, free: 1.637 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5914, allocations: 0 / 1.494 GB, free: 1.637 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5914, allocations: 0 / 1.494 GB, free: 1.637 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5914, allocations: 4 kB / 1.494 GB, free: 1.633 MB / 1.186 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.001062/0.5924, allocations: 0.6105 MB / 1.494 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5925, allocations: 19.92 kB / 1.494 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/0.5932, allocations: 75.69 kB / 1.494 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.5936, allocations: 299.5 kB / 1.495 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.5936, allocations: 16 kB / 1.495 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.5937, allocations: 16 kB / 1.495 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.5943, allocations: 291.4 kB / 1.495 GB, free: 208 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5943, allocations: 0 / 1.495 GB, free: 208 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.5943, allocations: 8 kB / 1.495 GB, free: 200 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5943, allocations: 7.938 kB / 1.495 GB, free: 192 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.5948, allocations: 207.6 kB / 1.495 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.5966, allocations: 1.249 MB / 1.496 GB, free: 14.65 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.5969, allocations: 169 kB / 1.497 GB, free: 14.44 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.5971, allocations: 116.3 kB / 1.497 GB, free: 14.31 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008336/0.598, allocations: 331.2 kB / 1.497 GB, free: 13.93 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.598, allocations: 34.56 kB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.598, allocations: 0 / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0008565/0.5989, allocations: 281.9 kB / 1.497 GB, free: 13.61 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.599, allocations: 162.1 kB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.5993, allocations: 287.1 kB / 1.498 GB, free: 13.12 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.5993, allocations: 29.64 kB / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.5994, allocations: 151.9 kB / 1.498 GB, free: 12.93 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.5995, allocations: 39.64 kB / 1.498 GB, free: 12.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.5996, allocations: 57.61 kB / 1.498 GB, free: 12.84 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5997, allocations: 338.8 kB / 1.498 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.5999, allocations: 67.94 kB / 1.498 GB, free: 12.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.6002, allocations: 144.5 kB / 1.498 GB, free: 12.26 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.6006, allocations: 211.5 kB / 1.499 GB, free: 12.02 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6006, allocations: 0 / 1.499 GB, free: 12.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005655/0.6012, allocations: 245.4 kB / 1.499 GB, free: 11.78 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6012, allocations: 14.22 kB / 1.499 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6012, allocations: 0 / 1.499 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.6012, allocations: 4 kB / 1.499 GB, free: 11.76 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.6014, allocations: 35.92 kB / 1.499 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.6014, allocations: 7.984 kB / 1.499 GB, free: 11.72 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.6016, allocations: 31.78 kB / 1.499 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.6017, allocations: 15.92 kB / 1.499 GB, free: 11.67 MB / 1.201 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.0001571/0.6018, allocations: 149.8 kB / 1.499 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.602, allocations: 27.86 kB / 1.499 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.6025, allocations: 193.8 kB / 1.499 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6025, allocations: 0 / 1.499 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6025, allocations: 4 kB / 1.499 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6025, allocations: 0 / 1.499 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.6038, allocations: 0.8549 MB / 1.5 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6038, allocations: 4 kB / 1.5 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.604, allocations: 23.92 kB / 1.5 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.604, allocations: 7.938 kB / 1.5 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.604, allocations: 0 / 1.5 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.604, allocations: 4 kB / 1.5 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.604, allocations: 0 / 1.5 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.6047, allocations: 347.6 kB / 1.501 GB, free: 9.938 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.6048, allocations: 113 kB / 1.501 GB, free: 9.809 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.6048, allocations: 11.97 kB / 1.501 GB, free: 9.797 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.605, allocations: 8 kB / 1.501 GB, free: 9.789 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.6051, allocations: 15.92 kB / 1.501 GB, free: 9.773 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.6051, allocations: 4 kB / 1.501 GB, free: 9.77 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002706/0.6053, allocations: 237.9 kB / 1.501 GB, free: 9.535 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6053, allocations: 0 / 1.501 GB, free: 9.535 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005485/0.6059, allocations: 103.8 kB / 1.501 GB, free: 9.434 MB / 1.201 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.0004886/0.6064, allocations: 195 kB / 1.501 GB, free: 9.234 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.6068, allocations: 148.2 kB / 1.501 GB, free: 9.09 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6068, allocations: 8 kB / 1.501 GB, free: 9.082 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.607, allocations: 55.91 kB / 1.501 GB, free: 9.027 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.6078, allocations: 133.9 kB / 1.502 GB, free: 8.902 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6089, allocations: 0.5071 MB / 1.502 GB, free: 8.352 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.6093, allocations: 0.7597 MB / 1.503 GB, free: 7.566 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.6095, allocations: 62.92 kB / 1.503 GB, free: 7.5 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.6096, allocations: 23.44 kB / 1.503 GB, free: 7.477 MB / 1.201 GB Notification: Performance of SimCode: time 4.91e-07/0.6096, allocations: 0 / 1.503 GB, free: 7.477 MB / 1.201 GB Notification: Performance of Templates: time 0.01291/0.6225, allocations: 5.853 MB / 1.509 GB, free: 1.684 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.901720562018454]