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.0009491/0.0009491, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001035/0.001035, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9158/0.9158, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.931/1.931, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.122e-06/1.122e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.086e-05, allocations: 2.312 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1337/0.1338, allocations: 145.5 MB / 0.9021 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1361, allocations: 2.13 MB / 0.9042 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.1363, allocations: 11.88 kB / 0.9042 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1366, allocations: 79.39 kB / 0.9043 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009868/0.1376, allocations: 0.5634 MB / 0.9049 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.1383, allocations: 434.8 kB / 0.9053 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007606/0.1391, allocations: 0.5766 MB / 0.9058 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.1393, allocations: 179.5 kB / 0.906 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.1397, allocations: 311.1 kB / 0.9063 GB, free: 476 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.1401, allocations: 263.2 kB / 0.9065 GB, free: 212 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.1401, allocations: 20 kB / 0.9066 GB, free: 192 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005415/0.1406, allocations: 466.6 kB / 0.907 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.1407, allocations: 95.72 kB / 0.9071 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.1408, allocations: 87.83 kB / 0.9072 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.1413, allocations: 466.5 kB / 0.9076 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1413, allocations: 0 / 0.9076 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1414, allocations: 0 / 0.9076 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1414, allocations: 4 kB / 0.9076 GB, free: 15.09 MB / 0.8698 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.0005163/0.1419, allocations: 479.2 kB / 0.9081 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1419, allocations: 12.03 kB / 0.9081 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.1423, allocations: 100.6 kB / 0.9082 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1425, allocations: 242.1 kB / 0.9084 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1425, allocations: 12.38 kB / 0.9084 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.1426, allocations: 20.38 kB / 0.9085 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1428, allocations: 223.6 kB / 0.9087 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1428, allocations: 0 / 0.9087 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1428, allocations: 8 kB / 0.9087 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1428, allocations: 4 kB / 0.9087 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.1429, allocations: 81.98 kB / 0.9088 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.1437, allocations: 0.9668 MB / 0.9097 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.1439, allocations: 336.6 kB / 0.91 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.144, allocations: 67.72 kB / 0.9101 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.1442, allocations: 55.94 kB / 0.9101 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1442, allocations: 34.56 kB / 0.9102 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 3.697e-06/0.1442, allocations: 3.984 kB / 0.9102 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0002813/0.1445, allocations: 121.5 kB / 0.9103 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.1446, allocations: 158.2 kB / 0.9105 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1447, allocations: 199.5 kB / 0.9106 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1447, allocations: 33.64 kB / 0.9107 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.1448, allocations: 144.3 kB / 0.9108 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1448, allocations: 47.59 kB / 0.9109 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.1449, allocations: 37.69 kB / 0.9109 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.145, allocations: 338.8 kB / 0.9112 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.145, allocations: 10.83 kB / 0.9112 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1451, allocations: 187.7 kB / 0.9114 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1452, allocations: 121.7 kB / 0.9115 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1452, allocations: 4 kB / 0.9115 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000176/0.1454, allocations: 124.7 kB / 0.9116 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1454, allocations: 8 kB / 0.9117 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1454, allocations: 0 / 0.9117 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1454, allocations: 4 kB / 0.9117 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1455, allocations: 35.92 kB / 0.9117 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1455, allocations: 7.938 kB / 0.9117 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.1456, allocations: 23.88 kB / 0.9117 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.1456, allocations: 4 kB / 0.9117 GB, free: 10.5 MB / 0.8698 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.453e-05/0.1457, allocations: 132.9 kB / 0.9119 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.1458, allocations: 19.92 kB / 0.9119 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.146, allocations: 125.1 kB / 0.912 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.146, allocations: 8 kB / 0.912 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.146, allocations: 0 / 0.912 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.146, allocations: 7.938 kB / 0.912 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.1468, allocations: 0.6902 MB / 0.9127 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1468, allocations: 0 / 0.9127 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.1468, allocations: 23.98 kB / 0.9127 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1468, allocations: 7.875 kB / 0.9127 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1468, allocations: 8 kB / 0.9127 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1469, allocations: 4.188 kB / 0.9127 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1469, allocations: 4 kB / 0.9127 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.147, allocations: 278.6 kB / 0.913 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.1471, allocations: 23.86 kB / 0.913 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1471, allocations: 11.92 kB / 0.913 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.1471, allocations: 4 kB / 0.913 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1472, allocations: 11.98 kB / 0.913 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1472, allocations: 4 kB / 0.913 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.1472, allocations: 69.66 kB / 0.9131 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1472, allocations: 4.031 kB / 0.9131 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002566/0.1475, allocations: 83.77 kB / 0.9132 GB, free: 8.879 MB / 0.8698 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.0002518/0.1477, allocations: 152.1 kB / 0.9133 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1479, allocations: 68.7 kB / 0.9134 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.1479, allocations: 4 kB / 0.9134 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.1479, allocations: 36.77 kB / 0.9134 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1482, allocations: 87.22 kB / 0.9135 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.1488, allocations: 468 kB / 0.914 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.362e-05/0.1489, allocations: 88.17 kB / 0.9141 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.879e-05/0.149, allocations: 25.64 kB / 0.9141 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.1491, allocations: 109.3 kB / 0.9142 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/0.1491, allocations: 0 / 0.9142 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of Templates: time 0.008501/0.1576, allocations: 4.303 MB / 0.9184 GB, free: 3.566 MB / 0.8698 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.280548454262316]