Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000929/0.000929, allocations: 81.95 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.001028/0.001028, allocations: 166 kB / 24.87 MB, free: 9.258 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.9509/0.9509, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.838/1.838, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.122e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1324/0.1325, allocations: 144 MB / 0.9289 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004601/0.1371, allocations: 3.82 MB / 0.9326 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.1375, allocations: 19.81 kB / 0.9327 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.1379, allocations: 138.9 kB / 0.9328 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1392, allocations: 0.6061 MB / 0.9334 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008043/0.14, allocations: 446.9 kB / 0.9338 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1412, allocations: 1.034 MB / 0.9348 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.1417, allocations: 249.2 kB / 0.9351 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.1429, allocations: 0.5735 MB / 0.9356 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.1432, allocations: 299.1 kB / 0.9359 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.1433, allocations: 32 kB / 0.9359 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.1438, allocations: 323.1 kB / 0.9362 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.144, allocations: 179.5 kB / 0.9364 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1441, allocations: 147.7 kB / 0.9365 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007054/0.1448, allocations: 0.5256 MB / 0.9371 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1448, allocations: 3.938 kB / 0.9371 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1448, allocations: 0 / 0.9371 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.1448, allocations: 0 / 0.9371 GB, free: 3.402 MB / 0.8855 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.0007987/0.1456, allocations: 0.7487 MB / 0.9378 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1457, allocations: 11.97 kB / 0.9378 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006005/0.1463, allocations: 180.3 kB / 0.938 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.1466, allocations: 322.3 kB / 0.9383 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1466, allocations: 24.66 kB / 0.9383 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.1467, allocations: 32 kB / 0.9383 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.147, allocations: 297.6 kB / 0.9386 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.147, allocations: 0 / 0.9386 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.147, allocations: 12 kB / 0.9386 GB, free: 1.695 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.147, allocations: 19.92 kB / 0.9387 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.1471, allocations: 103.1 kB / 0.9388 GB, free: 1.574 MB / 0.8855 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.0009077/0.1481, allocations: 0.7224 MB / 0.9395 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.1483, allocations: 167.9 kB / 0.9396 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.917e-05/0.1483, allocations: 84.12 kB / 0.9397 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.95e-05/0.1484, allocations: 20.27 kB / 0.9397 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1484, allocations: 41.67 kB / 0.9398 GB, free: 500 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 2.255e-06/0.1484, allocations: 0 / 0.9398 GB, free: 500 kB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.000891/0.1493, allocations: 0.5525 MB / 0.9403 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.1494, allocations: 55.41 kB / 0.9404 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1495, allocations: 294.1 kB / 0.9406 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1496, allocations: 37.7 kB / 0.9407 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.1496, allocations: 235.3 kB / 0.9409 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.1497, allocations: 130.8 kB / 0.941 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.1498, allocations: 67.33 kB / 0.9411 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1499, allocations: 0.5234 MB / 0.9416 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.15, allocations: 31.97 kB / 0.9416 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1501, allocations: 153.7 kB / 0.9418 GB, free: 14.3 MB / 0.9011 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.0003115/0.1504, allocations: 233.5 kB / 0.942 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1504, allocations: 0 / 0.942 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002216/0.1506, allocations: 197.3 kB / 0.9422 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1507, allocations: 4 kB / 0.9422 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1507, allocations: 4 kB / 0.9422 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1507, allocations: 0 / 0.9422 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.1508, allocations: 67.91 kB / 0.9423 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.1508, allocations: 0 / 0.9423 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.151, allocations: 19.97 kB / 0.9423 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.151, allocations: 12 kB / 0.9423 GB, free: 13.77 MB / 0.9011 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.0001163/0.1511, allocations: 180.3 kB / 0.9425 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.1512, allocations: 43.81 kB / 0.9425 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.1512, allocations: 47.03 kB / 0.9425 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1512, allocations: 4 kB / 0.9425 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1512, allocations: 0 / 0.9425 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001954/0.1514, allocations: 260.4 kB / 0.9428 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.1522, allocations: 0.7756 MB / 0.9436 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1522, allocations: 7.984 kB / 0.9436 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.1524, allocations: 80.38 kB / 0.9436 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1524, allocations: 8 kB / 0.9436 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1524, allocations: 15.98 kB / 0.9437 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1524, allocations: 7.938 kB / 0.9437 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1524, allocations: 4 kB / 0.9437 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.1529, allocations: 0.5264 MB / 0.9442 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.1529, allocations: 55.77 kB / 0.9442 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.153, allocations: 15.98 kB / 0.9443 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1531, allocations: 19.97 kB / 0.9443 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1532, allocations: 31.89 kB / 0.9443 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1532, allocations: 16 kB / 0.9443 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.6e-05/0.1533, allocations: 199 kB / 0.9445 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1533, allocations: 0 / 0.9445 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003011/0.1536, allocations: 112 kB / 0.9446 GB, free: 11.16 MB / 0.9011 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.0002108/0.1538, allocations: 143 kB / 0.9448 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.154, allocations: 159.3 kB / 0.9449 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.154, allocations: 0 / 0.9449 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-05/0.1541, allocations: 105.4 kB / 0.945 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.1547, allocations: 193.5 kB / 0.9452 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.156, allocations: 0.861 MB / 0.946 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.714e-05/0.156, allocations: 121.8 kB / 0.9461 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.1562, allocations: 58.92 kB / 0.9462 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.1565, allocations: 214.1 kB / 0.9464 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of SimCode: time 8.82e-07/0.1565, allocations: 0 / 0.9464 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of Templates: time 0.009758/0.1663, allocations: 7.365 MB / 0.9536 GB, free: 2.039 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.48973688390106]