Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.0009391/0.0009391, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009297/0.0009297, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.066/2.066, allocations: 429.5 MB / 0.6733 GB, free: 3.996 MB / 0.6355 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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.65e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1287/0.1288, allocations: 146.7 MB / 1.021 GB, free: 3.059 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003918/0.1327, allocations: 3.852 MB / 1.025 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.1329, allocations: 19.88 kB / 1.025 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.1334, allocations: 135 kB / 1.025 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009429/0.1343, allocations: 0.5983 MB / 1.026 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.1349, allocations: 446.9 kB / 1.026 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008356/0.1357, allocations: 1.014 MB / 1.027 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.136, allocations: 233.2 kB / 1.028 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.1365, allocations: 0.5181 MB / 1.028 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.137, allocations: 311.9 kB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.1371, allocations: 32 kB / 1.028 GB, free: 11.92 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.1375, allocations: 402.8 kB / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1377, allocations: 171.5 kB / 1.029 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1378, allocations: 159.6 kB / 1.029 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.1384, allocations: 0.5412 MB / 1.03 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1384, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1384, allocations: 4 kB / 1.03 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.1384, allocations: 0 / 1.03 GB, free: 10.65 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007759/0.1391, allocations: 0.7523 MB / 1.03 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1392, allocations: 8.031 kB / 1.03 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006345/0.1398, allocations: 192.3 kB / 1.031 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.1402, allocations: 343 kB / 1.031 GB, free: 9.301 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1402, allocations: 28.59 kB / 1.031 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.1403, allocations: 32 kB / 1.031 GB, free: 9.242 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.1406, allocations: 317.6 kB / 1.031 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1406, allocations: 4 kB / 1.031 GB, free: 8.898 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.1407, allocations: 12 kB / 1.031 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1407, allocations: 8 kB / 1.031 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.1409, allocations: 131.8 kB / 1.031 GB, free: 8.746 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.001068/0.1419, allocations: 0.7922 MB / 1.032 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.1422, allocations: 175.9 kB / 1.032 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1423, allocations: 92.2 kB / 1.032 GB, free: 7.637 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.1424, allocations: 24.27 kB / 1.032 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1424, allocations: 41.67 kB / 1.033 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.1424, allocations: 0 / 1.033 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35): time 0.001615/0.144, allocations: 0.6386 MB / 1.033 GB, free: 6.891 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1441, allocations: 55.41 kB / 1.033 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.1444, allocations: 302.3 kB / 1.033 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1444, allocations: 33.7 kB / 1.033 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1445, allocations: 235.4 kB / 1.034 GB, free: 6.238 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.1446, allocations: 134.9 kB / 1.034 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.1447, allocations: 63.36 kB / 1.034 GB, free: 6.035 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1448, allocations: 0.5195 MB / 1.034 GB, free: 5.504 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.1449, allocations: 39.98 kB / 1.034 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.145, allocations: 206.9 kB / 1.035 GB, free: 5.227 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.1455, allocations: 268.5 kB / 1.035 GB, free: 4.957 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1455, allocations: 0 / 1.035 GB, free: 4.957 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002714/0.1457, allocations: 217.2 kB / 1.035 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1457, allocations: 8 kB / 1.035 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1457, allocations: 3.984 kB / 1.035 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1458, allocations: 3.938 kB / 1.035 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.1461, allocations: 63.92 kB / 1.035 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1461, allocations: 7.922 kB / 1.035 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1463, allocations: 15.94 kB / 1.035 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.1463, allocations: 12 kB / 1.035 GB, free: 4.625 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001097/0.1464, allocations: 172.5 kB / 1.035 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.1464, allocations: 51.84 kB / 1.035 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.1465, allocations: 42.98 kB / 1.035 GB, free: 4.352 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1465, allocations: 4 kB / 1.035 GB, free: 4.348 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1465, allocations: 0 / 1.035 GB, free: 4.348 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002599/0.1468, allocations: 272.5 kB / 1.036 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.1477, allocations: 0.8493 MB / 1.037 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1477, allocations: 4 kB / 1.037 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.1479, allocations: 87.83 kB / 1.037 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.1479, allocations: 4 kB / 1.037 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1479, allocations: 12 kB / 1.037 GB, free: 2.992 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.1479, allocations: 4 kB / 1.037 GB, free: 2.988 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1479, allocations: 8.406 kB / 1.037 GB, free: 2.98 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.1483, allocations: 0.5572 MB / 1.037 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.1484, allocations: 59.77 kB / 1.037 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.1485, allocations: 12 kB / 1.037 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1486, allocations: 19.98 kB / 1.037 GB, free: 2.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.1487, allocations: 39.83 kB / 1.037 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1487, allocations: 12 kB / 1.037 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001058/0.1488, allocations: 215 kB / 1.038 GB, free: 1.988 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1488, allocations: 32 / 1.038 GB, free: 1.988 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002823/0.1491, allocations: 115.9 kB / 1.038 GB, free: 1.875 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.0002432/0.1493, allocations: 143.1 kB / 1.038 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1496, allocations: 177.4 kB / 1.038 GB, free: 1.551 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1496, allocations: 0 / 1.038 GB, free: 1.551 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.1497, allocations: 111.7 kB / 1.038 GB, free: 1.438 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.1503, allocations: 174.3 kB / 1.038 GB, free: 1.273 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1519, allocations: 0.8747 MB / 1.039 GB, free: 312 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.224e-05/0.152, allocations: 121.8 kB / 1.039 GB, free: 164 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.1522, allocations: 82.89 kB / 1.039 GB, free: 84 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.1522, allocations: 32.5 kB / 1.039 GB, free: 52 kB / 0.9948 GB Notification: Performance of SimCode: time 9.51e-07/0.1522, allocations: 0 / 1.039 GB, free: 52 kB / 0.9948 GB Notification: Performance of Templates: time 0.008874/0.1611, allocations: 6.484 MB / 1.046 GB, free: 9.727 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.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.345967574976385]