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.001497/0.001497, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001595/0.001595, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.442/1.442, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 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.758/2.758, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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.893e-06/1.893e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.372e-05/4.562e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1955/0.1955, allocations: 141 MB / 1.089 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006233/0.2017, allocations: 3.544 MB / 1.092 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.2023, allocations: 19.81 kB / 1.092 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.2031, allocations: 182.6 kB / 1.092 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.2058, allocations: 0.8783 MB / 1.093 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.2072, allocations: 458.2 kB / 1.094 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.209, allocations: 1.038 MB / 1.095 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000621/0.2097, allocations: 245 kB / 1.095 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.2108, allocations: 0.514 MB / 1.095 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.212, allocations: 309.1 kB / 1.096 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.2122, allocations: 32 kB / 1.096 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.2138, allocations: 0.6191 MB / 1.096 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.2141, allocations: 175.5 kB / 1.096 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.2144, allocations: 151.6 kB / 1.097 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.216, allocations: 0.7634 MB / 1.097 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.216, allocations: 0 / 1.097 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.216, allocations: 4 kB / 1.097 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.2161, allocations: 0 / 1.097 GB, free: 5.059 MB / 0.9981 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.001714/0.2178, allocations: 0.6796 MB / 1.098 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2178, allocations: 8.031 kB / 1.098 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.2191, allocations: 147.6 kB / 1.098 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00084/0.2199, allocations: 340.2 kB / 1.099 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.22, allocations: 24.66 kB / 1.099 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/0.22, allocations: 28 kB / 1.099 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000833/0.2209, allocations: 428.8 kB / 1.099 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.2209, allocations: 0 / 1.099 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2209, allocations: 16 kB / 1.099 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.221, allocations: 8 kB / 1.099 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.2216, allocations: 306.4 kB / 1.099 GB, free: 3.008 MB / 0.9981 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.001834/0.2234, allocations: 0.793 MB / 1.1 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.224, allocations: 271.3 kB / 1.1 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.2243, allocations: 175.7 kB / 1.1 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.2246, allocations: 36.27 kB / 1.101 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.2246, allocations: 38.84 kB / 1.101 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.2246, allocations: 0 / 1.101 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002444/0.2271, allocations: 0.9567 MB / 1.102 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.2271, allocations: 63.27 kB / 1.102 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.2274, allocations: 260.2 kB / 1.102 GB, free: 336 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.2275, allocations: 33.7 kB / 1.102 GB, free: 296 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2276, allocations: 184.6 kB / 1.102 GB, free: 108 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.5296/0.7572, allocations: 122 kB / 1.102 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.7573, allocations: 62.34 kB / 1.102 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7575, allocations: 342.4 kB / 1.103 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.7578, allocations: 114 kB / 1.103 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.7581, allocations: 271 kB / 1.103 GB, free: 163.1 MB / 0.9981 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.002067/0.7602, allocations: 0.6839 MB / 1.104 GB, free: 163 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7602, allocations: 4.281 kB / 1.104 GB, free: 163 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000856/0.7611, allocations: 352 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.7611, allocations: 7.234 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7611, allocations: 0.875 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.7611, allocations: 6.688 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.7615, allocations: 64.19 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.7615, allocations: 6.844 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.7618, allocations: 18.28 kB / 1.104 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.7619, allocations: 10.33 kB / 1.104 GB, free: 162.9 MB / 0.9981 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.0002053/0.7621, allocations: 179.3 kB / 1.104 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.7622, allocations: 33.94 kB / 1.104 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.7623, allocations: 46.45 kB / 1.104 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.7623, allocations: 3.719 kB / 1.104 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.7623, allocations: 5.719 kB / 1.104 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005829/0.7629, allocations: 402.5 kB / 1.105 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.7645, allocations: 0.9451 MB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.7645, allocations: 4.312 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.7649, allocations: 82.39 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.296e-05/0.7649, allocations: 5.781 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.765, allocations: 11.61 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.765, allocations: 6.125 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.765, allocations: 11.56 kB / 1.106 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.766, allocations: 0.6751 MB / 1.106 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.7662, allocations: 64.44 kB / 1.106 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.7662, allocations: 11 kB / 1.106 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.7666, allocations: 18.98 kB / 1.106 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.7667, allocations: 36.88 kB / 1.106 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.7667, allocations: 18.22 kB / 1.106 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001914/0.7669, allocations: 186.9 kB / 1.107 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7669, allocations: 0 / 1.107 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005161/0.7674, allocations: 109.1 kB / 1.107 GB, free: 161.3 MB / 0.9981 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.0003018/0.7677, allocations: 159 kB / 1.107 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006605/0.7684, allocations: 305.8 kB / 1.107 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7684, allocations: 1.219 kB / 1.107 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.7687, allocations: 159.1 kB / 1.107 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.7698, allocations: 183.5 kB / 1.108 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.7714, allocations: 0.8794 MB / 1.108 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.7716, allocations: 220.3 kB / 1.109 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.772, allocations: 102.6 kB / 1.109 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.7721, allocations: 33.25 kB / 1.109 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.7721, allocations: 0 / 1.109 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.01481/0.7869, allocations: 6.576 MB / 1.115 GB, free: 159.8 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] 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.807704269886017]