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.002008/0.002008, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002023/0.002023, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.613/1.613, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.863/2.863, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.603e-06/1.603e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.711e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2305/0.2305, allocations: 156 MB / 0.9387 GB, free: 304 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00754/0.2381, allocations: 3.864 MB / 0.9425 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006676/0.2388, allocations: 19.81 kB / 0.9425 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008843/0.2396, allocations: 190.6 kB / 0.9427 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.2425, allocations: 0.8783 MB / 0.9436 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.2439, allocations: 458.8 kB / 0.944 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.2459, allocations: 1.04 MB / 0.945 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006554/0.2465, allocations: 239.6 kB / 0.9453 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.2479, allocations: 0.5373 MB / 0.9458 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.2492, allocations: 301.9 kB / 0.9461 GB, free: 8.781 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2494, allocations: 32 kB / 0.9461 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.2511, allocations: 0.6113 MB / 0.9467 GB, free: 8.137 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/0.2514, allocations: 175.4 kB / 0.9469 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.2518, allocations: 151.7 kB / 0.947 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.2538, allocations: 0.775 MB / 0.9478 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2538, allocations: 4 kB / 0.9478 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2538, allocations: 0 / 0.9478 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.469e-05/0.2538, allocations: 4 kB / 0.9478 GB, free: 7.031 MB / 0.9011 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.001772/0.2556, allocations: 0.7949 MB / 0.9485 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2556, allocations: 8.031 kB / 0.9486 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.257, allocations: 195.3 kB / 0.9487 GB, free: 6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008681/0.2578, allocations: 358.9 kB / 0.9491 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.2579, allocations: 20.66 kB / 0.9491 GB, free: 5.605 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/0.2579, allocations: 32 kB / 0.9491 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.2587, allocations: 356.8 kB / 0.9495 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2587, allocations: 0 / 0.9495 GB, free: 5.191 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.2587, allocations: 12 kB / 0.9495 GB, free: 5.18 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2587, allocations: 8 kB / 0.9495 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005303/0.2593, allocations: 202.5 kB / 0.9497 GB, free: 4.977 MB / 0.9011 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.002073/0.2613, allocations: 0.8802 MB / 0.9505 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.2618, allocations: 215.9 kB / 0.9508 GB, free: 3.832 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.2621, allocations: 129.7 kB / 0.9509 GB, free: 3.703 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.2625, allocations: 44.27 kB / 0.9509 GB, free: 3.66 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.2625, allocations: 37.67 kB / 0.951 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.2625, allocations: 0 / 0.951 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.002235/0.2648, allocations: 0.7907 MB / 0.9517 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.2648, allocations: 55.41 kB / 0.9518 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.2652, allocations: 342.3 kB / 0.9521 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.2653, allocations: 33.7 kB / 0.9521 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.2655, allocations: 235.5 kB / 0.9524 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.2656, allocations: 138.8 kB / 0.9525 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.2658, allocations: 75.31 kB / 0.9526 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004349/0.2662, allocations: 0.5352 MB / 0.9531 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.2664, allocations: 75.95 kB / 0.9532 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.2668, allocations: 237.6 kB / 0.9534 GB, free: 0.9844 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.001708/0.2685, allocations: 0.5226 MB / 0.9539 GB, free: 468 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2685, allocations: 0 / 0.9539 GB, free: 468 kB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005998/0.2691, allocations: 285.2 kB / 0.9542 GB, free: 176 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2691, allocations: 8.031 kB / 0.9542 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.2691, allocations: 3.984 kB / 0.9542 GB, free: 164 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2691, allocations: 4 kB / 0.9542 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.2695, allocations: 55.92 kB / 0.9542 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.2695, allocations: 11.97 kB / 0.9543 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.2698, allocations: 8 kB / 0.9543 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.2698, allocations: 15.98 kB / 0.9543 GB, free: 68 kB / 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.000265/0.2701, allocations: 196.5 kB / 0.9545 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2702, allocations: 47.8 kB / 0.9545 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.2704, allocations: 51.03 kB / 0.9546 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2704, allocations: 4 kB / 0.9546 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2704, allocations: 0 / 0.9546 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005686/0.2709, allocations: 336.4 kB / 0.9549 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.2729, allocations: 0.9769 MB / 0.9558 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2729, allocations: 4 kB / 0.9558 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.2733, allocations: 87.78 kB / 0.9559 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.2733, allocations: 4 kB / 0.9559 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.2734, allocations: 15.98 kB / 0.9559 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.2734, allocations: 4 kB / 0.9559 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.2734, allocations: 4.469 kB / 0.9559 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.2748, allocations: 0.6683 MB / 0.9566 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.275, allocations: 59.73 kB / 0.9567 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.275, allocations: 15.98 kB / 0.9567 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.2754, allocations: 12 kB / 0.9567 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.2755, allocations: 31.89 kB / 0.9567 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.2755, allocations: 19.98 kB / 0.9567 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002393/0.2757, allocations: 231 kB / 0.957 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.2757, allocations: 3.938 kB / 0.957 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000603/0.2763, allocations: 112 kB / 0.9571 GB, free: 12.98 MB / 0.9167 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.0003661/0.2767, allocations: 163.1 kB / 0.9572 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006103/0.2773, allocations: 231.3 kB / 0.9574 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2773, allocations: 3.938 kB / 0.9574 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.2776, allocations: 139.3 kB / 0.9576 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.2787, allocations: 196.8 kB / 0.9578 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.2806, allocations: 0.8846 MB / 0.9586 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.2809, allocations: 218.2 kB / 0.9588 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003073/0.2812, allocations: 82.88 kB / 0.9589 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2813, allocations: 32.5 kB / 0.9589 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/0.2813, allocations: 0 / 0.9589 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of Templates: time 0.01593/0.2972, allocations: 6.808 MB / 0.9656 GB, free: 4.301 MB / 0.9167 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.405559950042516]