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.001044/0.001044, allocations: 88.23 kB / 19.64 MB, free: 308 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.001092/0.001092, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.12/2.12, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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.653e-06/1.653e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.49e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1285/0.1285, allocations: 146.7 MB / 1.021 GB, free: 3.102 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003759/0.1322, allocations: 3.844 MB / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.1325, allocations: 23.81 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.133, allocations: 127.1 kB / 1.025 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1341, allocations: 0.606 MB / 1.026 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.1348, allocations: 446.9 kB / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000946/0.1357, allocations: 1.022 MB / 1.027 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.136, allocations: 221.3 kB / 1.028 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.1375, allocations: 0.6027 MB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.1379, allocations: 291.2 kB / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.1379, allocations: 35.94 kB / 1.028 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.1384, allocations: 315.1 kB / 1.029 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.1385, allocations: 179.5 kB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1386, allocations: 147.7 kB / 1.029 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.1393, allocations: 0.5178 MB / 1.03 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1393, allocations: 3.984 kB / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1393, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1393, allocations: 4 kB / 1.03 GB, free: 10.75 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.0007769/0.1401, allocations: 0.733 MB / 1.03 GB, free: 9.98 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1401, allocations: 16.03 kB / 1.03 GB, free: 9.965 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006021/0.1407, allocations: 180.3 kB / 1.031 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.1411, allocations: 334.3 kB / 1.031 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1411, allocations: 20.66 kB / 1.031 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.1411, allocations: 35.98 kB / 1.031 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.1415, allocations: 325.5 kB / 1.031 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1415, allocations: 0 / 1.031 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.1415, allocations: 12 kB / 1.031 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1415, allocations: 8 kB / 1.031 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.1417, allocations: 127.8 kB / 1.031 GB, free: 8.883 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.0009532/0.1427, allocations: 0.7883 MB / 1.032 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1429, allocations: 179 kB / 1.032 GB, free: 7.867 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.143, allocations: 96.2 kB / 1.032 GB, free: 7.77 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.449e-05/0.1431, allocations: 20.27 kB / 1.032 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1431, allocations: 41.67 kB / 1.032 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.1431, allocations: 0 / 1.032 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35): time 0.001053/0.1442, allocations: 0.6425 MB / 1.033 GB, free: 7.023 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1442, allocations: 55.41 kB / 1.033 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1444, allocations: 306.3 kB / 1.033 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1444, allocations: 29.7 kB / 1.033 GB, free: 6.609 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.1445, allocations: 231.4 kB / 1.034 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.1446, allocations: 122.9 kB / 1.034 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.1446, allocations: 75.31 kB / 1.034 GB, free: 6.172 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1448, allocations: 0.5156 MB / 1.034 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.1449, allocations: 43.97 kB / 1.034 GB, free: 5.602 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.145, allocations: 169.5 kB / 1.035 GB, free: 5.41 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.0003942/0.1454, allocations: 267 kB / 1.035 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1454, allocations: 0 / 1.035 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002685/0.1456, allocations: 229.1 kB / 1.035 GB, free: 4.914 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1457, allocations: 4 kB / 1.035 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1457, allocations: 0 / 1.035 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1457, allocations: 4 kB / 1.035 GB, free: 4.906 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1459, allocations: 59.91 kB / 1.035 GB, free: 4.848 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1459, allocations: 7.938 kB / 1.035 GB, free: 4.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.146, allocations: 8 kB / 1.035 GB, free: 4.832 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.146, allocations: 15.94 kB / 1.035 GB, free: 4.816 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.0001243/0.1461, allocations: 188.5 kB / 1.035 GB, free: 4.621 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.1462, allocations: 39.81 kB / 1.035 GB, free: 4.582 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.1462, allocations: 46.98 kB / 1.035 GB, free: 4.535 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1462, allocations: 4 kB / 1.035 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1463, allocations: 0 / 1.035 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002638/0.1465, allocations: 276.5 kB / 1.036 GB, free: 4.23 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/0.1474, allocations: 0.8491 MB / 1.036 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1474, allocations: 4 kB / 1.036 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.1476, allocations: 83.89 kB / 1.037 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1476, allocations: 4 kB / 1.037 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.1476, allocations: 16.47 kB / 1.037 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1476, allocations: 11.94 kB / 1.037 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1476, allocations: 4 kB / 1.037 GB, free: 3.156 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.1481, allocations: 0.5572 MB / 1.037 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.1481, allocations: 59.78 kB / 1.037 GB, free: 2.457 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1482, allocations: 8 kB / 1.037 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1483, allocations: 19.98 kB / 1.037 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1484, allocations: 35.83 kB / 1.037 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.1484, allocations: 16 kB / 1.037 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.952e-05/0.1485, allocations: 215 kB / 1.037 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1485, allocations: 0 / 1.037 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002903/0.1488, allocations: 111.9 kB / 1.038 GB, free: 2.059 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.0001902/0.149, allocations: 135.1 kB / 1.038 GB, free: 1.918 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1492, allocations: 177.4 kB / 1.038 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1493, allocations: 4.062 kB / 1.038 GB, free: 1.738 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1494, allocations: 111.4 kB / 1.038 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.1501, allocations: 182 kB / 1.038 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1513, allocations: 0.8649 MB / 1.039 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.1514, allocations: 125.7 kB / 1.039 GB, free: 352 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000177/0.1515, allocations: 82.83 kB / 1.039 GB, free: 272 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.1516, allocations: 32.5 kB / 1.039 GB, free: 240 kB / 0.9948 GB Notification: Performance of SimCode: time 7.82e-07/0.1516, allocations: 0 / 1.039 GB, free: 240 kB / 0.9948 GB Notification: Performance of Templates: time 0.008817/0.1604, allocations: 6.901 MB / 1.046 GB, free: 9.492 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.303132826928049]