Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 188.9 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 1.061 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9344/0.9364, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2188/1.155, allocations: 163.9 MB / 1.379 GB, free: 2.711 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007304/1.162, allocations: 4.62 MB / 1.383 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005811/1.163, allocations: 15.81 kB / 1.383 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005587/1.164, allocations: 131.1 kB / 1.383 GB, free: 13.94 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/1.165, allocations: 0.5719 MB / 1.384 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/1.168, allocations: 0.8174 MB / 1.385 GB, free: 12.55 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008875/1.168, allocations: 0.5925 MB / 1.385 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/1.169, allocations: 165.3 kB / 1.385 GB, free: 11.79 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/1.17, allocations: 478.2 kB / 1.386 GB, free: 11.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006813/1.171, allocations: 322.4 kB / 1.386 GB, free: 11.01 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/1.171, allocations: 20 kB / 1.386 GB, free: 10.99 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/1.173, allocations: 1.103 MB / 1.387 GB, free: 9.887 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/1.173, allocations: 95.72 kB / 1.387 GB, free: 9.793 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/1.173, allocations: 123.4 kB / 1.387 GB, free: 9.672 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/1.174, allocations: 0.7116 MB / 1.388 GB, free: 8.961 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.174, allocations: 4 kB / 1.388 GB, free: 8.957 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.773e-06/1.174, allocations: 4 kB / 1.388 GB, free: 8.953 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.566e-06/1.174, allocations: 0 / 1.388 GB, free: 8.953 MB / 1.092 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.001121/1.176, allocations: 0.6105 MB / 1.389 GB, free: 8.293 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.176, allocations: 8.031 kB / 1.389 GB, free: 8.285 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/1.176, allocations: 79.69 kB / 1.389 GB, free: 8.207 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/1.177, allocations: 303.4 kB / 1.389 GB, free: 7.871 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/1.177, allocations: 15.95 kB / 1.389 GB, free: 7.855 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/1.177, allocations: 24 kB / 1.389 GB, free: 7.832 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/1.177, allocations: 283.5 kB / 1.389 GB, free: 7.527 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/1.177, allocations: 0 / 1.389 GB, free: 7.527 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.177, allocations: 4 kB / 1.389 GB, free: 7.523 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/1.177, allocations: 7.938 kB / 1.389 GB, free: 7.516 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/1.178, allocations: 203.8 kB / 1.39 GB, free: 7.316 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/1.18, allocations: 1.261 MB / 1.391 GB, free: 5.977 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/1.18, allocations: 165 kB / 1.391 GB, free: 5.77 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/1.18, allocations: 112.4 kB / 1.391 GB, free: 5.645 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008247/1.181, allocations: 331.2 kB / 1.391 GB, free: 5.266 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/1.181, allocations: 42.55 kB / 1.391 GB, free: 5.215 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/1.181, allocations: 0 / 1.391 GB, free: 5.215 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.0008422/1.182, allocations: 281.9 kB / 1.392 GB, free: 4.934 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.182, allocations: 158.2 kB / 1.392 GB, free: 4.742 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/1.183, allocations: 292.2 kB / 1.392 GB, free: 4.449 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/1.183, allocations: 25.8 kB / 1.392 GB, free: 4.418 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/1.183, allocations: 155.8 kB / 1.392 GB, free: 4.262 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/1.183, allocations: 51.58 kB / 1.392 GB, free: 4.211 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/1.183, allocations: 41.84 kB / 1.392 GB, free: 4.164 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.183, allocations: 334.8 kB / 1.393 GB, free: 3.828 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/1.183, allocations: 71.94 kB / 1.393 GB, free: 3.758 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/1.184, allocations: 148.5 kB / 1.393 GB, free: 3.582 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/1.184, allocations: 211.5 kB / 1.393 GB, free: 3.348 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.184, allocations: 0 / 1.393 GB, free: 3.348 MB / 1.092 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005295/1.184, allocations: 245.5 kB / 1.393 GB, free: 3.102 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.184, allocations: 4 kB / 1.393 GB, free: 3.098 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.184, allocations: 7.984 kB / 1.393 GB, free: 3.09 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.185, allocations: 0 / 1.393 GB, free: 3.09 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.185, allocations: 43.91 kB / 1.393 GB, free: 3.047 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.185, allocations: 0 / 1.393 GB, free: 3.047 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/1.185, allocations: 35.77 kB / 1.393 GB, free: 3.012 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/1.185, allocations: 11.94 kB / 1.393 GB, free: 3 MB / 1.092 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.0001541/1.185, allocations: 153.8 kB / 1.394 GB, free: 2.84 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.185, allocations: 23.86 kB / 1.394 GB, free: 2.816 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004785/1.186, allocations: 185.9 kB / 1.394 GB, free: 2.613 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/1.186, allocations: 4 kB / 1.394 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.186, allocations: 0 / 1.394 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.186, allocations: 0 / 1.394 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/1.187, allocations: 0.8588 MB / 1.395 GB, free: 1.676 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.187, allocations: 0 / 1.395 GB, free: 1.676 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/1.187, allocations: 23.92 kB / 1.395 GB, free: 1.652 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.187, allocations: 11.88 kB / 1.395 GB, free: 1.641 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/1.187, allocations: 8.125 kB / 1.395 GB, free: 1.633 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.187, allocations: 3.984 kB / 1.395 GB, free: 1.629 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.187, allocations: 4 kB / 1.395 GB, free: 1.625 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/1.188, allocations: 339.6 kB / 1.395 GB, free: 1.262 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/1.188, allocations: 121 kB / 1.395 GB, free: 1.125 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/1.188, allocations: 0 / 1.395 GB, free: 1.125 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/1.188, allocations: 15.98 kB / 1.395 GB, free: 1.109 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/1.188, allocations: 11.92 kB / 1.395 GB, free: 1.098 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.188, allocations: 4 kB / 1.395 GB, free: 1.094 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002765/1.188, allocations: 239 kB / 1.395 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.188, allocations: 0 / 1.395 GB, free: 0.8594 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004951/1.189, allocations: 95.77 kB / 1.395 GB, free: 0.7656 MB / 1.092 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.0005731/1.189, allocations: 211.2 kB / 1.396 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004526/1.19, allocations: 151.8 kB / 1.396 GB, free: 420 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.19, allocations: 0 / 1.396 GB, free: 420 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/1.19, allocations: 63.83 kB / 1.396 GB, free: 356 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007549/1.191, allocations: 153.9 kB / 1.396 GB, free: 208 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/1.192, allocations: 0.4883 MB / 1.396 GB, free: 15.67 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/1.192, allocations: 0.7597 MB / 1.397 GB, free: 14.88 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000194/1.192, allocations: 58.95 kB / 1.397 GB, free: 14.82 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/1.192, allocations: 19.44 kB / 1.397 GB, free: 14.81 MB / 1.107 GB Notification: Performance of SimCode: time 3e-07/1.192, allocations: 0 / 1.397 GB, free: 14.81 MB / 1.107 GB Notification: Performance of Templates: time 0.01226/1.205, allocations: 5.947 MB / 1.403 GB, free: 8.934 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.425166284665465]