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.001437/0.001437, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001088/0.001088, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9467/0.9467, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.045/2.045, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.399e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1274/0.1274, allocations: 146.1 MB / 0.9543 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.1299, allocations: 2.122 MB / 0.9563 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.1301, allocations: 15.88 kB / 0.9564 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.1304, allocations: 75.3 kB / 0.9564 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.1316, allocations: 0.5635 MB / 0.957 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.1326, allocations: 434.8 kB / 0.9574 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.1332, allocations: 0.5727 MB / 0.9579 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.1335, allocations: 169.5 kB / 0.9581 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.1339, allocations: 315.1 kB / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.1344, allocations: 291 kB / 0.9587 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1344, allocations: 16 kB / 0.9587 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.1351, allocations: 466.7 kB / 0.9591 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.516e-05/0.1352, allocations: 99.7 kB / 0.9592 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.1352, allocations: 83.83 kB / 0.9593 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.1359, allocations: 470.5 kB / 0.9598 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1359, allocations: 0 / 0.9598 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1359, allocations: 0 / 0.9598 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1359, allocations: 4 kB / 0.9598 GB, free: 9.453 MB / 0.9167 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.0006212/0.1365, allocations: 0.5927 MB / 0.9604 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1365, allocations: 8.031 kB / 0.9604 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.137, allocations: 116.4 kB / 0.9605 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.1372, allocations: 241.1 kB / 0.9607 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1372, allocations: 16.38 kB / 0.9607 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.1373, allocations: 20.38 kB / 0.9607 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1376, allocations: 252.6 kB / 0.961 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1376, allocations: 0 / 0.961 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1376, allocations: 8 kB / 0.961 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1376, allocations: 4 kB / 0.961 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1377, allocations: 79.64 kB / 0.9611 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1388, allocations: 1.39 MB / 0.9624 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.139, allocations: 167.4 kB / 0.9626 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.139, allocations: 66.55 kB / 0.9626 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.1393, allocations: 67.92 kB / 0.9627 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1393, allocations: 41.39 kB / 0.9628 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.1393, allocations: 0 / 0.9628 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003697/0.1397, allocations: 145.3 kB / 0.9629 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1397, allocations: 166.1 kB / 0.963 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1399, allocations: 243.4 kB / 0.9633 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1399, allocations: 33.7 kB / 0.9633 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.14, allocations: 211.1 kB / 0.9635 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.14, allocations: 47.59 kB / 0.9636 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.1401, allocations: 43.36 kB / 0.9636 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1402, allocations: 0.504 MB / 0.9641 GB, free: 4.672 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.1402, allocations: 15.98 kB / 0.9641 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1404, allocations: 215.7 kB / 0.9643 GB, free: 4.379 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1405, allocations: 141 kB / 0.9644 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1405, allocations: 0 / 0.9644 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002077/0.1407, allocations: 161.2 kB / 0.9646 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1407, allocations: 6.656 kB / 0.9646 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1407, allocations: 8.188 kB / 0.9646 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1407, allocations: 8 kB / 0.9646 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1408, allocations: 31.98 kB / 0.9647 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1408, allocations: 3.938 kB / 0.9647 GB, free: 3.984 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.1409, allocations: 23.97 kB / 0.9647 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.1409, allocations: 8 kB / 0.9647 GB, free: 3.953 MB / 0.9167 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 9.135e-05/0.141, allocations: 172.5 kB / 0.9649 GB, free: 3.773 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.1411, allocations: 27.84 kB / 0.9649 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.1413, allocations: 142.3 kB / 0.965 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1413, allocations: 0 / 0.965 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1413, allocations: 7.938 kB / 0.965 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1413, allocations: 0 / 0.965 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.1419, allocations: 0.9648 MB / 0.966 GB, free: 2.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1419, allocations: 3.938 kB / 0.966 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.142, allocations: 27.92 kB / 0.966 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.142, allocations: 0 / 0.966 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.142, allocations: 8 kB / 0.966 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.142, allocations: 7.938 kB / 0.966 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.142, allocations: 0 / 0.966 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1423, allocations: 309.8 kB / 0.9663 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.1423, allocations: 31.98 kB / 0.9663 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1423, allocations: 12 kB / 0.9663 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.1424, allocations: 12.05 kB / 0.9664 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1424, allocations: 11.98 kB / 0.9664 GB, free: 2.086 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1424, allocations: 4 kB / 0.9664 GB, free: 2.082 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.617e-05/0.1425, allocations: 188 kB / 0.9666 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1425, allocations: 0 / 0.9666 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002838/0.1428, allocations: 91.7 kB / 0.9666 GB, free: 1.809 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (11): * Single equations (assignments): 11 * 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.0002693/0.1431, allocations: 175 kB / 0.9668 GB, free: 1.629 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.1432, allocations: 87.45 kB / 0.9669 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1432, allocations: 0.5 kB / 0.9669 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.1433, allocations: 47.55 kB / 0.9669 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1436, allocations: 80.47 kB / 0.967 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.1444, allocations: 473.2 kB / 0.9675 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.1444, allocations: 96.17 kB / 0.9676 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.425e-05/0.1445, allocations: 49.78 kB / 0.9676 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.1446, allocations: 24.5 kB / 0.9676 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.1446, allocations: 0 / 0.9676 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of Templates: time 0.006509/0.1511, allocations: 4.323 MB / 0.9719 GB, free: 12.48 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.566299153026193]