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.0008123/0.0008123, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007983/0.0007983, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8626/0.8626, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.752/1.752, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 2.225e-06/2.225e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.564e-05/3.786e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.6896/0.6897, allocations: 141 MB / 1.139 GB, free: 12.2 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003866/0.6936, allocations: 3.517 MB / 1.142 GB, free: 9.84 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/0.6939, allocations: 20.06 kB / 1.142 GB, free: 9.828 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.6945, allocations: 184.8 kB / 1.142 GB, free: 9.719 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.6964, allocations: 0.862 MB / 1.143 GB, free: 9.266 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.000953/0.6973, allocations: 457.2 kB / 1.144 GB, free: 9.047 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.6986, allocations: 1.019 MB / 1.145 GB, free: 8.59 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.6989, allocations: 223.1 kB / 1.145 GB, free: 8.488 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.7001, allocations: 0.7076 MB / 1.145 GB, free: 8.18 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009252/0.701, allocations: 298 kB / 1.146 GB, free: 8.094 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.701, allocations: 29.5 kB / 1.146 GB, free: 8.094 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.7025, allocations: 0.6023 MB / 1.146 GB, free: 7.871 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.7027, allocations: 169.1 kB / 1.146 GB, free: 7.801 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.7029, allocations: 154.1 kB / 1.147 GB, free: 7.738 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.7044, allocations: 0.768 MB / 1.147 GB, free: 7.477 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7044, allocations: 0.9688 kB / 1.147 GB, free: 7.477 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7044, allocations: 0 / 1.147 GB, free: 7.477 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.7044, allocations: 0 / 1.147 GB, free: 7.477 MB / 1.01 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.001197/0.7056, allocations: 0.6632 MB / 1.148 GB, free: 6.988 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.7057, allocations: 10.12 kB / 1.148 GB, free: 6.988 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.7064, allocations: 155.7 kB / 1.148 GB, free: 6.949 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.707, allocations: 334.9 kB / 1.149 GB, free: 6.715 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.707, allocations: 21.81 kB / 1.149 GB, free: 6.703 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.7071, allocations: 32.77 kB / 1.149 GB, free: 6.691 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.7078, allocations: 426.4 kB / 1.149 GB, free: 6.441 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.7078, allocations: 3.953 kB / 1.149 GB, free: 6.438 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.7079, allocations: 16.12 kB / 1.149 GB, free: 6.426 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.7079, allocations: 11.2 kB / 1.149 GB, free: 6.422 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.7084, allocations: 313.6 kB / 1.149 GB, free: 6.332 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.7099, allocations: 0.7867 MB / 1.15 GB, free: 5.887 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.7104, allocations: 273.8 kB / 1.15 GB, free: 5.773 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.7106, allocations: 174.6 kB / 1.151 GB, free: 5.715 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.7108, allocations: 37.8 kB / 1.151 GB, free: 5.711 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.7108, allocations: 38.03 kB / 1.151 GB, free: 5.668 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 3.446e-06/0.7108, allocations: 0 / 1.151 GB, free: 5.668 MB / 1.01 GB Notification: Performance of matching and sorting (n=35): time 0.001771/0.7126, allocations: 0.9544 MB / 1.152 GB, free: 5.203 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.7126, allocations: 58.47 kB / 1.152 GB, free: 5.137 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.7129, allocations: 252.8 kB / 1.152 GB, free: 4.996 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.7129, allocations: 32.77 kB / 1.152 GB, free: 4.961 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.713, allocations: 186.8 kB / 1.152 GB, free: 4.805 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.7131, allocations: 129.6 kB / 1.152 GB, free: 4.699 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.369e-05/0.7132, allocations: 65.34 kB / 1.152 GB, free: 4.66 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7133, allocations: 344.7 kB / 1.153 GB, free: 4.332 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.7135, allocations: 115.9 kB / 1.153 GB, free: 4.297 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.7137, allocations: 265.8 kB / 1.153 GB, free: 4.109 MB / 1.01 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.001445/0.7152, allocations: 0.6834 MB / 1.154 GB, free: 3.887 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7152, allocations: 4.906 kB / 1.154 GB, free: 3.883 MB / 1.01 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005022/0.7157, allocations: 352.3 kB / 1.154 GB, free: 3.738 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.7157, allocations: 5.469 kB / 1.154 GB, free: 3.738 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7157, allocations: 4.031 kB / 1.154 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7157, allocations: 2.156 kB / 1.154 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.7159, allocations: 67.47 kB / 1.154 GB, free: 3.727 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.716, allocations: 2.734 kB / 1.154 GB, free: 3.727 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.7161, allocations: 13.62 kB / 1.154 GB, free: 3.723 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.7162, allocations: 10.16 kB / 1.154 GB, free: 3.723 MB / 1.01 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.0002317/0.7164, allocations: 178.1 kB / 1.154 GB, free: 3.574 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.7165, allocations: 31.59 kB / 1.154 GB, free: 3.559 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.41e-05/0.7165, allocations: 46.83 kB / 1.154 GB, free: 3.523 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7165, allocations: 7.938 kB / 1.154 GB, free: 3.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.7165, allocations: 0.6094 kB / 1.154 GB, free: 3.52 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004583/0.717, allocations: 411.1 kB / 1.155 GB, free: 3.273 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.7184, allocations: 0.9357 MB / 1.156 GB, free: 2.695 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.7184, allocations: 3.719 kB / 1.156 GB, free: 2.695 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.7186, allocations: 82.31 kB / 1.156 GB, free: 2.688 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.7186, allocations: 6.297 kB / 1.156 GB, free: 2.688 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.7186, allocations: 14.31 kB / 1.156 GB, free: 2.684 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.7186, allocations: 10.48 kB / 1.156 GB, free: 2.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.7186, allocations: 7.438 kB / 1.156 GB, free: 2.676 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.7195, allocations: 0.6782 MB / 1.156 GB, free: 2.254 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.7196, allocations: 61.27 kB / 1.156 GB, free: 2.227 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.7197, allocations: 11.25 kB / 1.156 GB, free: 2.223 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.7198, allocations: 18.44 kB / 1.156 GB, free: 2.219 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.7199, allocations: 36.14 kB / 1.156 GB, free: 2.207 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.7199, allocations: 25.47 kB / 1.156 GB, free: 2.199 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001805/0.7201, allocations: 184.8 kB / 1.157 GB, free: 2.09 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7201, allocations: 0 / 1.157 GB, free: 2.09 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004665/0.7206, allocations: 104.6 kB / 1.157 GB, free: 2.082 MB / 1.01 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.0003155/0.7209, allocations: 164.3 kB / 1.157 GB, free: 1.961 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.7214, allocations: 296.7 kB / 1.157 GB, free: 1.875 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7214, allocations: 0 / 1.157 GB, free: 1.875 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.7216, allocations: 162.7 kB / 1.157 GB, free: 1.824 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.7223, allocations: 175.4 kB / 1.158 GB, free: 1.781 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.7239, allocations: 0.9111 MB / 1.158 GB, free: 1.176 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.7242, allocations: 216.8 kB / 1.159 GB, free: 1.086 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.7243, allocations: 37.94 kB / 1.159 GB, free: 1.074 MB / 1.01 GB Notification: Performance of SimCode: time 1.002e-06/0.7243, allocations: 0 / 1.159 GB, free: 1.074 MB / 1.01 GB Notification: Performance of Templates: time 0.01127/0.7356, allocations: 5.477 MB / 1.164 GB, free: 0.5391 MB / 1.01 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.000220317393541]