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.001524/0.001524, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001717/0.001717, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.889/2.889, allocations: 0.49 GB / 0.7923 GB, free: 1.273 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.002039/0.002039, allocations: 63.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8559/0.858, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2033/1.061, allocations: 166.7 MB / 1.485 GB, free: 14.18 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006186/1.067, allocations: 4.606 MB / 1.489 GB, free: 10.47 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003984/1.068, allocations: 14.81 kB / 1.489 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004815/1.068, allocations: 137 kB / 1.489 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/1.07, allocations: 0.5573 MB / 1.49 GB, free: 9.922 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/1.072, allocations: 0.7878 MB / 1.491 GB, free: 9.348 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007447/1.072, allocations: 0.5758 MB / 1.491 GB, free: 9.016 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/1.073, allocations: 188.4 kB / 1.491 GB, free: 8.895 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/1.074, allocations: 0.6753 MB / 1.492 GB, free: 8.457 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/1.075, allocations: 303.6 kB / 1.492 GB, free: 8.285 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/1.075, allocations: 18.56 kB / 1.492 GB, free: 8.285 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/1.077, allocations: 1.085 MB / 1.493 GB, free: 7.656 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/1.077, allocations: 88.88 kB / 1.494 GB, free: 7.598 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/1.077, allocations: 134.2 kB / 1.494 GB, free: 7.512 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/1.078, allocations: 0.7175 MB / 1.494 GB, free: 7.082 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/1.078, allocations: 0 / 1.494 GB, free: 7.082 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.92e-07/1.078, allocations: 1.281 kB / 1.494 GB, free: 7.082 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.078, allocations: 0 / 1.494 GB, free: 7.082 MB / 1.17 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.000981/1.079, allocations: 0.6026 MB / 1.495 GB, free: 6.531 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.079, allocations: 18.11 kB / 1.495 GB, free: 6.523 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/1.08, allocations: 79.06 kB / 1.495 GB, free: 6.484 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/1.08, allocations: 296.6 kB / 1.495 GB, free: 6.203 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.08, allocations: 11.94 kB / 1.495 GB, free: 6.199 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/1.08, allocations: 26.16 kB / 1.495 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/1.081, allocations: 278.5 kB / 1.496 GB, free: 5.984 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/1.081, allocations: 1.094 kB / 1.496 GB, free: 5.984 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/1.081, allocations: 6.375 kB / 1.496 GB, free: 5.98 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/1.081, allocations: 16.92 kB / 1.496 GB, free: 5.969 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/1.081, allocations: 212.5 kB / 1.496 GB, free: 5.863 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/1.083, allocations: 1.238 MB / 1.497 GB, free: 4.734 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/1.083, allocations: 180.9 kB / 1.497 GB, free: 4.559 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/1.084, allocations: 108 kB / 1.497 GB, free: 4.48 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/1.084, allocations: 328.9 kB / 1.498 GB, free: 4.16 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.084, allocations: 49.27 kB / 1.498 GB, free: 4.105 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/1.084, allocations: 0 / 1.498 GB, free: 4.105 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0008004/1.085, allocations: 277.6 kB / 1.498 GB, free: 3.957 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/1.085, allocations: 157.5 kB / 1.498 GB, free: 3.77 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/1.086, allocations: 288 kB / 1.498 GB, free: 3.582 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/1.086, allocations: 34.95 kB / 1.498 GB, free: 3.543 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/1.086, allocations: 147.5 kB / 1.499 GB, free: 3.406 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/1.086, allocations: 49.16 kB / 1.499 GB, free: 3.363 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/1.086, allocations: 38.89 kB / 1.499 GB, free: 3.336 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.086, allocations: 340.4 kB / 1.499 GB, free: 3 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/1.086, allocations: 71.56 kB / 1.499 GB, free: 2.965 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/1.087, allocations: 153.8 kB / 1.499 GB, free: 2.836 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/1.087, allocations: 206.1 kB / 1.499 GB, free: 2.688 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.087, allocations: 1.156 kB / 1.499 GB, free: 2.688 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005511/1.088, allocations: 243.2 kB / 1.5 GB, free: 2.555 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.088, allocations: 5.688 kB / 1.5 GB, free: 2.555 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.088, allocations: 2.391 kB / 1.5 GB, free: 2.555 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.088, allocations: 3.469 kB / 1.5 GB, free: 2.555 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/1.088, allocations: 41.41 kB / 1.5 GB, free: 2.543 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.088, allocations: 14.3 kB / 1.5 GB, free: 2.531 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/1.088, allocations: 34.86 kB / 1.5 GB, free: 2.508 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/1.088, allocations: 16.97 kB / 1.5 GB, free: 2.5 MB / 1.17 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.0001486/1.088, allocations: 143.1 kB / 1.5 GB, free: 2.367 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/1.088, allocations: 24.77 kB / 1.5 GB, free: 2.355 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/1.089, allocations: 194.3 kB / 1.5 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/1.089, allocations: 2.469 kB / 1.5 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.089, allocations: 1.156 kB / 1.5 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.089, allocations: 1.188 kB / 1.5 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.09, allocations: 0.8573 MB / 1.501 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.09, allocations: 1.062 kB / 1.501 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/1.09, allocations: 25.61 kB / 1.501 GB, free: 1.391 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/1.09, allocations: 10.12 kB / 1.501 GB, free: 1.383 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.09, allocations: 7.5 kB / 1.501 GB, free: 1.379 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.09, allocations: 5.109 kB / 1.501 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.09, allocations: 6 kB / 1.501 GB, free: 1.371 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/1.091, allocations: 337.8 kB / 1.501 GB, free: 1.055 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.091, allocations: 116.9 kB / 1.501 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/1.091, allocations: 7.938 kB / 1.501 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/1.091, allocations: 7.984 kB / 1.501 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/1.091, allocations: 16 kB / 1.501 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/1.091, allocations: 4 kB / 1.501 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002573/1.091, allocations: 233.9 kB / 1.502 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.091, allocations: 0 / 1.502 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005475/1.092, allocations: 95.86 kB / 1.502 GB, free: 0.5625 MB / 1.17 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.0004566/1.092, allocations: 210.9 kB / 1.502 GB, free: 356 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004259/1.093, allocations: 139.8 kB / 1.502 GB, free: 216 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.093, allocations: 4 kB / 1.502 GB, free: 212 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/1.093, allocations: 60.7 kB / 1.502 GB, free: 152 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/1.094, allocations: 132.5 kB / 1.502 GB, free: 20 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/1.095, allocations: 0.5322 MB / 1.503 GB, free: 15.44 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/1.095, allocations: 0.7519 MB / 1.504 GB, free: 14.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/1.095, allocations: 31.42 kB / 1.504 GB, free: 14.63 MB / 1.186 GB Notification: Performance of SimCode: time 3.31e-07/1.095, allocations: 0 / 1.504 GB, free: 14.63 MB / 1.186 GB Notification: Performance of Templates: time 0.008295/1.103, allocations: 5.308 MB / 1.509 GB, free: 9.363 MB / 1.186 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/jenkins1/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: 12.699033209995832]