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.0009942/0.0009942, allocations: 77.97 kB / 21.47 MB, free: 3.031 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.001059/0.001059, allocations: 154.7 kB / 24.86 MB, free: 8.887 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.9878/0.9878, allocations: 177.2 MB / 205.3 MB, free: 5.492 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 1.884/1.884, allocations: 377.9 MB / 0.6247 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] 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.322e-06/1.322e-06, allocations: 0 / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.325e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1187/0.1187, allocations: 143.4 MB / 0.9528 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1211, allocations: 2.112 MB / 0.9549 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.1213, allocations: 11.88 kB / 0.9549 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1216, allocations: 75.41 kB / 0.955 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009592/0.1226, allocations: 0.5596 MB / 0.9555 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.1233, allocations: 430.7 kB / 0.9559 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.1238, allocations: 0.5766 MB / 0.9565 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.124, allocations: 169.5 kB / 0.9567 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.1244, allocations: 307.2 kB / 0.957 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.1248, allocations: 295 kB / 0.9572 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1248, allocations: 16 kB / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005331/0.1253, allocations: 470.6 kB / 0.9577 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.1254, allocations: 95.7 kB / 0.9578 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.1255, allocations: 91.78 kB / 0.9579 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.126, allocations: 470.5 kB / 0.9583 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.126, allocations: 3.984 kB / 0.9583 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.62e-07/0.126, allocations: 0 / 0.9583 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.126, allocations: 4 kB / 0.9583 GB, free: 11.86 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.0005437/0.1266, allocations: 0.5927 MB / 0.9589 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1266, allocations: 12.03 kB / 0.9589 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.127, allocations: 112.4 kB / 0.959 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.1272, allocations: 237.1 kB / 0.9593 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1272, allocations: 16.31 kB / 0.9593 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.1273, allocations: 24.38 kB / 0.9593 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1275, allocations: 232.6 kB / 0.9595 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1275, allocations: 3.938 kB / 0.9595 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1275, allocations: 8 kB / 0.9595 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1276, allocations: 4 kB / 0.9595 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.1276, allocations: 71.62 kB / 0.9596 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.1287, allocations: 1.378 MB / 0.961 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1289, allocations: 159.4 kB / 0.9611 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1289, allocations: 62.42 kB / 0.9612 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.1292, allocations: 68.05 kB / 0.9612 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1292, allocations: 41.39 kB / 0.9613 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.572e-06/0.1292, allocations: 0 / 0.9613 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003241/0.1295, allocations: 129.3 kB / 0.9614 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.1296, allocations: 170.1 kB / 0.9616 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1298, allocations: 242.8 kB / 0.9618 GB, free: 8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1298, allocations: 29.7 kB / 0.9618 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.1299, allocations: 203.6 kB / 0.962 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1299, allocations: 51.56 kB / 0.9621 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.1299, allocations: 51.34 kB / 0.9621 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1301, allocations: 0.504 MB / 0.9626 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.1301, allocations: 15.92 kB / 0.9626 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1302, allocations: 218 kB / 0.9628 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1303, allocations: 133 kB / 0.963 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1303, allocations: 0 / 0.963 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001869/0.1305, allocations: 149.2 kB / 0.9631 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1305, allocations: 8 kB / 0.9631 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1305, allocations: 0 / 0.9631 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1305, allocations: 4 kB / 0.9631 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1306, allocations: 40.11 kB / 0.9631 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1306, allocations: 7.938 kB / 0.9632 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.1307, allocations: 23.88 kB / 0.9632 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.1307, allocations: 8 kB / 0.9632 GB, free: 6.434 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 8.505e-05/0.1308, allocations: 168.5 kB / 0.9633 GB, free: 6.258 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.1309, allocations: 27.84 kB / 0.9634 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.1311, allocations: 134.3 kB / 0.9635 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1311, allocations: 4 kB / 0.9635 GB, free: 6.082 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1311, allocations: 3.938 kB / 0.9635 GB, free: 6.078 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1311, allocations: 8 kB / 0.9635 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.1316, allocations: 0.9186 MB / 0.9644 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.1316, allocations: 4.078 kB / 0.9644 GB, free: 5.086 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.1317, allocations: 27.97 kB / 0.9644 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1317, allocations: 3.938 kB / 0.9644 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1317, allocations: 8 kB / 0.9645 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1317, allocations: 3.938 kB / 0.9645 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1317, allocations: 4 kB / 0.9645 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.1319, allocations: 309.8 kB / 0.9648 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.132, allocations: 27.83 kB / 0.9648 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.132, allocations: 7.953 kB / 0.9648 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.132, allocations: 16.02 kB / 0.9648 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1321, allocations: 7.984 kB / 0.9648 GB, free: 4.633 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1321, allocations: 4 kB / 0.9648 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.043e-05/0.1321, allocations: 180 kB / 0.965 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1321, allocations: 0 / 0.965 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002832/0.1324, allocations: 91.75 kB / 0.9651 GB, free: 4.363 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.00025/0.1327, allocations: 171 kB / 0.9652 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.1328, allocations: 75.53 kB / 0.9653 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.1328, allocations: 0 / 0.9653 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.1328, allocations: 40.47 kB / 0.9653 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1332, allocations: 89.45 kB / 0.9654 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.1338, allocations: 472.7 kB / 0.9659 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.491e-05/0.1339, allocations: 92.31 kB / 0.966 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.489e-05/0.1339, allocations: 33.59 kB / 0.966 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1341, allocations: 130.1 kB / 0.9661 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.1341, allocations: 0 / 0.9661 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of Templates: time 0.00624/0.1403, allocations: 4.423 MB / 0.9704 GB, free: 14.87 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.357058641966432]