Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.0009978/0.0009978, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00113/0.00113, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9352/0.9352, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.334/2.334, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.32e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1246/0.1246, allocations: 144 MB / 1.03 GB, free: 9.188 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.1273, allocations: 2.255 MB / 1.033 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.1275, allocations: 15.88 kB / 1.033 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.1278, allocations: 95.2 kB / 1.033 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.1291, allocations: 0.6606 MB / 1.033 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.1299, allocations: 0.5103 MB / 1.034 GB, free: 5.641 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006951/0.1306, allocations: 0.721 MB / 1.035 GB, free: 4.918 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.1309, allocations: 227.5 kB / 1.035 GB, free: 4.691 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.1315, allocations: 395 kB / 1.035 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.132, allocations: 402.9 kB / 1.036 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1321, allocations: 24 kB / 1.036 GB, free: 3.887 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.1327, allocations: 494.5 kB / 1.036 GB, free: 3.402 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.133, allocations: 123.6 kB / 1.036 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.848e-05/0.1331, allocations: 123.7 kB / 1.036 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006041/0.1337, allocations: 0.5257 MB / 1.037 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1337, allocations: 0 / 1.037 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.1337, allocations: 3.938 kB / 1.037 GB, free: 2.629 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1337, allocations: 4 kB / 1.037 GB, free: 2.625 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0005859/0.1343, allocations: 0.6784 MB / 1.037 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1343, allocations: 8.625 kB / 1.037 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005478/0.1348, allocations: 192.1 kB / 1.038 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1351, allocations: 271.5 kB / 1.038 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.1352, allocations: 80.62 kB / 1.038 GB, free: 1.328 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.1352, allocations: 31.88 kB / 1.038 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1355, allocations: 299.8 kB / 1.038 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1355, allocations: 0 / 1.038 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1355, allocations: 12 kB / 1.038 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1356, allocations: 4 kB / 1.038 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1357, allocations: 87.38 kB / 1.038 GB, free: 0.8672 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009495/0.1366, allocations: 1.21 MB / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1367, allocations: 79.08 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.1368, allocations: 35.67 kB / 1.04 GB, free: 15.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.137, allocations: 95.8 kB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.137, allocations: 33.39 kB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.137, allocations: 0 / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0003036/0.1374, allocations: 163.9 kB / 1.04 GB, free: 15.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.1374, allocations: 55.41 kB / 1.04 GB, free: 15.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1375, allocations: 280.2 kB / 1.04 GB, free: 14.82 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1375, allocations: 29.7 kB / 1.04 GB, free: 14.79 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.1376, allocations: 243.2 kB / 1.041 GB, free: 14.54 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.1377, allocations: 55.52 kB / 1.041 GB, free: 14.49 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.1377, allocations: 51.34 kB / 1.041 GB, free: 14.43 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1378, allocations: 0.504 MB / 1.041 GB, free: 13.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.1379, allocations: 19.94 kB / 1.041 GB, free: 13.89 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.138, allocations: 170.9 kB / 1.041 GB, free: 13.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1381, allocations: 125 kB / 1.041 GB, free: 13.53 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1381, allocations: 0 / 1.041 GB, free: 13.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001853/0.1382, allocations: 137.4 kB / 1.042 GB, free: 13.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1383, allocations: 8 kB / 1.042 GB, free: 13.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1383, allocations: 3.938 kB / 1.042 GB, free: 13.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1383, allocations: 12.19 kB / 1.042 GB, free: 13.37 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1384, allocations: 35.97 kB / 1.042 GB, free: 13.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1384, allocations: 4 kB / 1.042 GB, free: 13.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.1385, allocations: 23.83 kB / 1.042 GB, free: 13.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.1385, allocations: 8 kB / 1.042 GB, free: 13.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.036e-05/0.1386, allocations: 168.5 kB / 1.042 GB, free: 13.12 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.1386, allocations: 31.8 kB / 1.042 GB, free: 13.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.1389, allocations: 151.2 kB / 1.042 GB, free: 12.94 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1389, allocations: 4 kB / 1.042 GB, free: 12.94 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1389, allocations: 0 / 1.042 GB, free: 12.94 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1389, allocations: 7.922 kB / 1.042 GB, free: 12.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.1394, allocations: 0.5306 MB / 1.043 GB, free: 12.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1394, allocations: 0 / 1.043 GB, free: 12.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.1394, allocations: 35.86 kB / 1.043 GB, free: 12.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1394, allocations: 7.938 kB / 1.043 GB, free: 12.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1394, allocations: 4 kB / 1.043 GB, free: 12.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1394, allocations: 224 / 1.043 GB, free: 12.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1394, allocations: 8 kB / 1.043 GB, free: 12.28 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.1398, allocations: 337.4 kB / 1.043 GB, free: 11.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1398, allocations: 39.73 kB / 1.043 GB, free: 11.86 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1399, allocations: 11.98 kB / 1.043 GB, free: 11.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.1399, allocations: 4 kB / 1.043 GB, free: 11.85 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.14, allocations: 27.89 kB / 1.043 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.14, allocations: 4 kB / 1.043 GB, free: 11.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.008e-05/0.1401, allocations: 189.1 kB / 1.043 GB, free: 11.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.1401, allocations: 0 / 1.043 GB, free: 11.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002881/0.1404, allocations: 119.7 kB / 1.043 GB, free: 11.52 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (15): * Single equations (assignments): 15 * 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.000232/0.1406, allocations: 171.1 kB / 1.043 GB, free: 11.34 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1407, allocations: 91.5 kB / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1407, allocations: 0 / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.1408, allocations: 47.55 kB / 1.044 GB, free: 11.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1411, allocations: 106.7 kB / 1.044 GB, free: 11.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.142, allocations: 0.5563 MB / 1.044 GB, free: 10.48 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.598e-05/0.142, allocations: 100.3 kB / 1.044 GB, free: 10.36 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.1421, allocations: 37.95 kB / 1.044 GB, free: 10.32 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.1423, allocations: 166.1 kB / 1.045 GB, free: 10.16 MB / 1.01 GB Notification: Performance of SimCode: time 4.71e-07/0.1423, allocations: 0 / 1.045 GB, free: 10.16 MB / 1.01 GB Notification: Performance of Templates: time 0.007176/0.1495, allocations: 5.629 MB / 1.05 GB, free: 4.641 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.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: 6.0332209332846105]