Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002618/0.002618, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.003256/0.003256, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.605/1.605, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.077/3.077, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.943e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2318/0.2318, allocations: 156 MB / 0.9632 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007009/0.2388, allocations: 3.879 MB / 0.967 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.2393, allocations: 19.81 kB / 0.967 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.2401, allocations: 182.6 kB / 0.9672 GB, free: 1.473 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.2425, allocations: 0.8938 MB / 0.968 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2437, allocations: 450.9 kB / 0.9685 GB, free: 136 kB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001545/0.2453, allocations: 1.038 MB / 0.9695 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.2457, allocations: 245.2 kB / 0.9697 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.2472, allocations: 0.7204 MB / 0.9704 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.2482, allocations: 305.5 kB / 0.9707 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 7.975e-05/0.2483, allocations: 32 kB / 0.9707 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.2496, allocations: 0.5958 MB / 0.9713 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.2498, allocations: 175.5 kB / 0.9715 GB, free: 13.04 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.2501, allocations: 155.7 kB / 0.9716 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.2515, allocations: 0.775 MB / 0.9724 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2515, allocations: 0 / 0.9724 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2515, allocations: 0 / 0.9724 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2515, allocations: 4 kB / 0.9724 GB, free: 12.1 MB / 0.9323 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.001372/0.2528, allocations: 0.791 MB / 0.9732 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2529, allocations: 8.031 kB / 0.9732 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.254, allocations: 195.3 kB / 0.9734 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.2548, allocations: 350.9 kB / 0.9737 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.2548, allocations: 28.66 kB / 0.9737 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.2549, allocations: 31.94 kB / 0.9738 GB, free: 10.65 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006791/0.2555, allocations: 356.9 kB / 0.9741 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2556, allocations: 0 / 0.9741 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.2556, allocations: 12 kB / 0.9741 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2556, allocations: 4 kB / 0.9741 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.2561, allocations: 206.5 kB / 0.9743 GB, free: 10.05 MB / 0.9323 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.002177/0.2583, allocations: 0.8801 MB / 0.9752 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.2589, allocations: 219.9 kB / 0.9754 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.2592, allocations: 128.1 kB / 0.9755 GB, free: 8.773 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.2595, allocations: 36.25 kB / 0.9755 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.2596, allocations: 41.67 kB / 0.9756 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.215e-06/0.2596, allocations: 0 / 0.9756 GB, free: 8.688 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.002571/0.2621, allocations: 0.7945 MB / 0.9763 GB, free: 7.859 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002473/0.2624, allocations: 55.41 kB / 0.9764 GB, free: 7.793 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.2629, allocations: 346.3 kB / 0.9767 GB, free: 7.438 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.2629, allocations: 29.7 kB / 0.9768 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.2631, allocations: 243.5 kB / 0.977 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.2633, allocations: 134.9 kB / 0.9771 GB, free: 7.023 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.2635, allocations: 75.31 kB / 0.9772 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003652/0.2638, allocations: 0.5391 MB / 0.9777 GB, free: 6.391 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.264, allocations: 67.97 kB / 0.9778 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.2644, allocations: 250.1 kB / 0.978 GB, free: 6.043 MB / 0.9323 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.001742/0.2661, allocations: 0.5119 MB / 0.9785 GB, free: 5.523 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2661, allocations: 0 / 0.9785 GB, free: 5.523 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006107/0.2667, allocations: 285.1 kB / 0.9788 GB, free: 5.238 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2667, allocations: 8 kB / 0.9788 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2668, allocations: 0 / 0.9788 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2668, allocations: 0 / 0.9788 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.2671, allocations: 67.91 kB / 0.9789 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.2671, allocations: 7.984 kB / 0.9789 GB, free: 5.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.2674, allocations: 11.98 kB / 0.9789 GB, free: 5.145 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.2675, allocations: 15.94 kB / 0.9789 GB, free: 5.129 MB / 0.9323 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.0002564/0.2677, allocations: 206 kB / 0.9791 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.2678, allocations: 43.81 kB / 0.9791 GB, free: 4.875 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.268, allocations: 47.03 kB / 0.9792 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.268, allocations: 4 kB / 0.9792 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.268, allocations: 0 / 0.9792 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005772/0.2685, allocations: 332.4 kB / 0.9795 GB, free: 4.473 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.2707, allocations: 0.9763 MB / 0.9805 GB, free: 3.391 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.2707, allocations: 4 kB / 0.9805 GB, free: 3.387 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.2711, allocations: 83.83 kB / 0.9805 GB, free: 3.305 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.2711, allocations: 8.469 kB / 0.9805 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.2712, allocations: 12 kB / 0.9806 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.355e-05/0.2712, allocations: 15.92 kB / 0.9806 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.2712, allocations: 4 kB / 0.9806 GB, free: 3.266 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2722, allocations: 0.6511 MB / 0.9812 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.2724, allocations: 59.73 kB / 0.9813 GB, free: 2.473 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.2725, allocations: 16 kB / 0.9813 GB, free: 2.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.2728, allocations: 18.67 kB / 0.9813 GB, free: 2.441 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.2729, allocations: 43.84 kB / 0.9813 GB, free: 2.398 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.2729, allocations: 16 kB / 0.9814 GB, free: 2.383 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002448/0.2732, allocations: 231 kB / 0.9816 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.2732, allocations: 0 / 0.9816 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005139/0.2737, allocations: 112 kB / 0.9817 GB, free: 2.047 MB / 0.9323 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.0003207/0.274, allocations: 155.1 kB / 0.9818 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005889/0.2746, allocations: 249.8 kB / 0.9821 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2746, allocations: 0 / 0.9821 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.2749, allocations: 148.3 kB / 0.9822 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.276, allocations: 189.2 kB / 0.9824 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.2778, allocations: 0.8846 MB / 0.9833 GB, free: 340 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.278, allocations: 214.3 kB / 0.9835 GB, free: 112 kB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003009/0.2783, allocations: 86.88 kB / 0.9835 GB, free: 24 kB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.2785, allocations: 32.55 kB / 0.9836 GB, free: 15.98 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/0.2785, allocations: 4 kB / 0.9836 GB, free: 15.98 MB / 0.948 GB Notification: Performance of Templates: time 0.01577/0.2943, allocations: 6.808 MB / 0.9902 GB, free: 9.363 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.841919502010569]