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.00181/0.00181, allocations: 79.97 kB / 19.76 MB, free: 2.031 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.002147/0.002147, allocations: 156.2 kB / 23.01 MB, free: 4.941 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] 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.873/2.873, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003356/0.003356, allocations: 67.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.102, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1941/1.296, allocations: 141.1 MB / 1.324 GB, free: 8.82 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00572/1.302, allocations: 3.535 MB / 1.328 GB, free: 5.27 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/1.302, allocations: 19.88 kB / 1.328 GB, free: 5.25 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007081/1.303, allocations: 186.7 kB / 1.328 GB, free: 5.066 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/1.306, allocations: 0.8674 MB / 1.329 GB, free: 4.195 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/1.307, allocations: 430.4 kB / 1.329 GB, free: 3.777 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001576/1.308, allocations: 1.046 MB / 1.33 GB, free: 2.73 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/1.309, allocations: 228.9 kB / 1.331 GB, free: 2.508 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/1.31, allocations: 0.615 MB / 1.331 GB, free: 1.891 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009518/1.311, allocations: 323.7 kB / 1.331 GB, free: 1.578 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/1.311, allocations: 32 kB / 1.331 GB, free: 1.547 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/1.312, allocations: 0.5921 MB / 1.332 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/1.312, allocations: 167.5 kB / 1.332 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/1.313, allocations: 183.2 kB / 1.332 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/1.314, allocations: 0.7319 MB / 1.333 GB, free: 15.88 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.314, allocations: 0 / 1.333 GB, free: 15.88 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.663e-06/1.314, allocations: 0 / 1.333 GB, free: 15.88 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.314, allocations: 3.938 kB / 1.333 GB, free: 15.87 MB / 1.186 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.001217/1.315, allocations: 0.6759 MB / 1.334 GB, free: 15.16 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.315, allocations: 8.031 kB / 1.334 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/1.316, allocations: 159.6 kB / 1.334 GB, free: 15 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/1.317, allocations: 328.2 kB / 1.334 GB, free: 14.65 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/1.317, allocations: 32.66 kB / 1.334 GB, free: 14.62 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/1.317, allocations: 32 kB / 1.334 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/1.318, allocations: 428.8 kB / 1.335 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/1.318, allocations: 3.938 kB / 1.335 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/1.318, allocations: 12 kB / 1.335 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.318, allocations: 4 kB / 1.335 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/1.318, allocations: 306.4 kB / 1.335 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/1.32, allocations: 0.8085 MB / 1.336 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/1.32, allocations: 271.4 kB / 1.336 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/1.321, allocations: 173.9 kB / 1.336 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/1.321, allocations: 44.25 kB / 1.336 GB, free: 12.49 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.321, allocations: 34.84 kB / 1.336 GB, free: 12.45 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/1.321, allocations: 0 / 1.336 GB, free: 12.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002249/1.323, allocations: 0.9605 MB / 1.337 GB, free: 11.45 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.323, allocations: 63.28 kB / 1.337 GB, free: 11.38 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/1.324, allocations: 260.2 kB / 1.338 GB, free: 11.12 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/1.324, allocations: 33.7 kB / 1.338 GB, free: 11.08 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/1.324, allocations: 180.7 kB / 1.338 GB, free: 10.89 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/1.324, allocations: 138.8 kB / 1.338 GB, free: 10.76 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.324, allocations: 65.66 kB / 1.338 GB, free: 10.69 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.324, allocations: 346.8 kB / 1.338 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/1.324, allocations: 107.9 kB / 1.338 GB, free: 10.23 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/1.325, allocations: 270 kB / 1.339 GB, free: 9.938 MB / 1.186 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.001858/1.327, allocations: 0.6906 MB / 1.339 GB, free: 9.246 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.327, allocations: 0 / 1.339 GB, free: 9.246 MB / 1.186 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006558/1.327, allocations: 345.1 kB / 1.34 GB, free: 8.902 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.327, allocations: 8 kB / 1.34 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.327, allocations: 0 / 1.34 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.327, allocations: 0 / 1.34 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/1.328, allocations: 63.91 kB / 1.34 GB, free: 8.832 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/1.328, allocations: 11.91 kB / 1.34 GB, free: 8.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/1.328, allocations: 19.98 kB / 1.34 GB, free: 8.801 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/1.328, allocations: 12 kB / 1.34 GB, free: 8.789 MB / 1.186 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.0002296/1.328, allocations: 173.8 kB / 1.34 GB, free: 8.609 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/1.328, allocations: 31.81 kB / 1.34 GB, free: 8.578 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/1.328, allocations: 47.03 kB / 1.34 GB, free: 8.527 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.328, allocations: 4 kB / 1.34 GB, free: 8.523 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.329, allocations: 3.938 kB / 1.34 GB, free: 8.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006183/1.329, allocations: 412.4 kB / 1.34 GB, free: 8.086 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/1.331, allocations: 0.9339 MB / 1.341 GB, free: 7.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.331, allocations: 4 kB / 1.341 GB, free: 7.066 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/1.331, allocations: 83.83 kB / 1.341 GB, free: 6.984 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/1.331, allocations: 8 kB / 1.341 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/1.331, allocations: 8 kB / 1.341 GB, free: 6.969 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/1.331, allocations: 12 kB / 1.341 GB, free: 6.957 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.331, allocations: 4 kB / 1.341 GB, free: 6.953 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/1.332, allocations: 0.6885 MB / 1.342 GB, free: 6.203 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/1.332, allocations: 63.77 kB / 1.342 GB, free: 6.141 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/1.333, allocations: 12 kB / 1.342 GB, free: 6.129 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/1.333, allocations: 19.94 kB / 1.342 GB, free: 6.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/1.333, allocations: 31.89 kB / 1.342 GB, free: 6.078 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/1.333, allocations: 16 kB / 1.342 GB, free: 6.062 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001866/1.333, allocations: 191 kB / 1.342 GB, free: 5.875 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.333, allocations: 3.938 kB / 1.342 GB, free: 5.871 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004809/1.334, allocations: 108 kB / 1.343 GB, free: 5.766 MB / 1.186 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.0002808/1.334, allocations: 158.2 kB / 1.343 GB, free: 5.605 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006226/1.335, allocations: 296.2 kB / 1.343 GB, free: 5.316 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.335, allocations: 0 / 1.343 GB, free: 5.316 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/1.335, allocations: 152.7 kB / 1.343 GB, free: 5.168 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/1.336, allocations: 187.1 kB / 1.343 GB, free: 4.992 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/1.338, allocations: 0.9625 MB / 1.344 GB, free: 3.961 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.338, allocations: 222.4 kB / 1.344 GB, free: 3.727 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003307/1.338, allocations: 102.9 kB / 1.345 GB, free: 3.621 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/1.338, allocations: 32.5 kB / 1.345 GB, free: 3.59 MB / 1.186 GB Notification: Performance of SimCode: time 4.61e-07/1.338, allocations: 0 / 1.345 GB, free: 3.59 MB / 1.186 GB Notification: Performance of Templates: time 0.01383/1.352, allocations: 6.63 MB / 1.351 GB, free: 13.12 MB / 1.201 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 -s ida -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/jenkins1/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: 9.548097122926265]