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.00161/0.00161, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001756/0.001756, allocations: 213.6 kB / 23.01 MB, free: 5.125 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.8 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00204/0.00204, allocations: 71.52 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3137, allocations: 169.9 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1873/0.501, allocations: 163.7 MB / 1.444 GB, free: 6.961 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005369/0.5064, allocations: 3.847 MB / 1.448 GB, free: 3.105 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.5067, allocations: 15.88 kB / 1.448 GB, free: 3.09 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.5073, allocations: 198.6 kB / 1.448 GB, free: 2.895 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.5096, allocations: 0.8791 MB / 1.449 GB, free: 2.012 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.511, allocations: 456.1 kB / 1.45 GB, free: 1.57 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.5128, allocations: 1.054 MB / 1.451 GB, free: 0.5156 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.5132, allocations: 237.1 kB / 1.451 GB, free: 284 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009222/0.5142, allocations: 434.3 kB / 1.451 GB, free: 15.85 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.5153, allocations: 346 kB / 1.452 GB, free: 15.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.5154, allocations: 28 kB / 1.452 GB, free: 15.49 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.5172, allocations: 0.7754 MB / 1.452 GB, free: 14.71 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/0.5175, allocations: 167.5 kB / 1.453 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.5178, allocations: 214.9 kB / 1.453 GB, free: 14.34 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.5191, allocations: 0.7592 MB / 1.454 GB, free: 13.57 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5191, allocations: 0 / 1.454 GB, free: 13.57 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5191, allocations: 0 / 1.454 GB, free: 13.57 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.5191, allocations: 0 / 1.454 GB, free: 13.57 MB / 1.154 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.001188/0.5203, allocations: 0.6758 MB / 1.454 GB, free: 12.87 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5203, allocations: 12.03 kB / 1.454 GB, free: 12.86 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5213, allocations: 147.6 kB / 1.454 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.522, allocations: 340.1 kB / 1.455 GB, free: 12.35 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.522, allocations: 20.66 kB / 1.455 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.5221, allocations: 39.95 kB / 1.455 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.5226, allocations: 326 kB / 1.455 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.5227, allocations: 0 / 1.455 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.5227, allocations: 12 kB / 1.455 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.5227, allocations: 8 kB / 1.455 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.5232, allocations: 306.4 kB / 1.455 GB, free: 11.65 MB / 1.154 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.001833/0.5251, allocations: 1.178 MB / 1.457 GB, free: 10.37 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.5256, allocations: 279.4 kB / 1.457 GB, free: 10.09 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.5258, allocations: 173.3 kB / 1.457 GB, free: 9.914 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.526, allocations: 32.27 kB / 1.457 GB, free: 9.883 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.5261, allocations: 34.84 kB / 1.457 GB, free: 9.84 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.5261, allocations: 0 / 1.457 GB, free: 9.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=35): time 0.002068/0.5281, allocations: 0.9674 MB / 1.458 GB, free: 8.84 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.5282, allocations: 59.41 kB / 1.458 GB, free: 8.77 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.5285, allocations: 320.5 kB / 1.458 GB, free: 8.449 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.5286, allocations: 33.7 kB / 1.458 GB, free: 8.41 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.5287, allocations: 180.8 kB / 1.459 GB, free: 8.227 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.5288, allocations: 126.9 kB / 1.459 GB, free: 8.102 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5289, allocations: 61.7 kB / 1.459 GB, free: 8.035 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5291, allocations: 350.8 kB / 1.459 GB, free: 7.684 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.5293, allocations: 111.9 kB / 1.459 GB, free: 7.574 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.5296, allocations: 168 kB / 1.459 GB, free: 7.402 MB / 1.154 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.001716/0.5313, allocations: 0.6836 MB / 1.46 GB, free: 6.715 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5313, allocations: 4 kB / 1.46 GB, free: 6.711 MB / 1.154 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005945/0.5319, allocations: 353 kB / 1.46 GB, free: 6.359 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5319, allocations: 4 kB / 1.46 GB, free: 6.355 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5319, allocations: 0 / 1.46 GB, free: 6.355 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.5319, allocations: 7.938 kB / 1.46 GB, free: 6.348 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.5322, allocations: 67.91 kB / 1.46 GB, free: 6.281 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5322, allocations: 4.031 kB / 1.46 GB, free: 6.277 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.5326, allocations: 22.95 kB / 1.46 GB, free: 6.258 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.5326, allocations: 12 kB / 1.46 GB, free: 6.246 MB / 1.154 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.00021/0.5328, allocations: 173.7 kB / 1.461 GB, free: 6.066 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.5329, allocations: 43.77 kB / 1.461 GB, free: 6.023 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.533, allocations: 48.06 kB / 1.461 GB, free: 5.977 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.533, allocations: 15.81 kB / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.533, allocations: 0 / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005836/0.5336, allocations: 412.3 kB / 1.461 GB, free: 5.527 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.5353, allocations: 1.031 MB / 1.462 GB, free: 4.402 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5353, allocations: 8.094 kB / 1.462 GB, free: 4.395 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.5357, allocations: 79.89 kB / 1.462 GB, free: 4.316 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.5357, allocations: 8 kB / 1.462 GB, free: 4.309 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.5357, allocations: 8 kB / 1.462 GB, free: 4.301 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/0.5357, allocations: 15.88 kB / 1.462 GB, free: 4.285 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5357, allocations: 4 kB / 1.462 GB, free: 4.281 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009923/0.5367, allocations: 0.6875 MB / 1.463 GB, free: 3.531 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.5369, allocations: 71.72 kB / 1.463 GB, free: 3.461 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.5369, allocations: 15.94 kB / 1.463 GB, free: 3.445 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.5372, allocations: 20.05 kB / 1.463 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.5373, allocations: 31.89 kB / 1.463 GB, free: 3.395 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.5374, allocations: 19.94 kB / 1.463 GB, free: 3.375 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002378/0.5376, allocations: 227 kB / 1.463 GB, free: 3.156 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5376, allocations: 4 kB / 1.463 GB, free: 3.152 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004561/0.538, allocations: 119.9 kB / 1.463 GB, free: 3.035 MB / 1.154 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.0002838/0.5383, allocations: 149 kB / 1.464 GB, free: 2.879 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.539, allocations: 291.7 kB / 1.464 GB, free: 2.594 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.539, allocations: 0 / 1.464 GB, free: 2.594 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.5393, allocations: 164.4 kB / 1.464 GB, free: 2.434 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5404, allocations: 223.7 kB / 1.464 GB, free: 2.219 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.5422, allocations: 1.006 MB / 1.465 GB, free: 1.133 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.5427, allocations: 0.8235 MB / 1.466 GB, free: 292 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.5428, allocations: 35.44 kB / 1.466 GB, free: 256 kB / 1.154 GB Notification: Performance of SimCode: time 4.51e-07/0.5428, allocations: 0 / 1.466 GB, free: 256 kB / 1.154 GB Notification: Performance of Templates: time 0.0101/0.5529, allocations: 5.945 MB / 1.472 GB, free: 10.36 MB / 1.17 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/jenkins1/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: 12.333314003015403]