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.002198/0.002198, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.001965/0.001965, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 3.561/3.561, allocations: 429.5 MB / 0.6729 GB, free: 3.992 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.681e-05/3.856e-05, allocations: 3.062 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2266/0.2266, allocations: 156 MB / 1.03 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009618/0.2362, allocations: 3.844 MB / 1.034 GB, free: 6.184 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005582/0.2368, allocations: 19.81 kB / 1.034 GB, free: 6.164 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009337/0.2377, allocations: 186.6 kB / 1.034 GB, free: 5.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.2415, allocations: 0.8822 MB / 1.035 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.2436, allocations: 446.9 kB / 1.035 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002443/0.246, allocations: 1.022 MB / 1.036 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006118/0.2467, allocations: 231.4 kB / 1.036 GB, free: 3.402 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.2488, allocations: 0.7126 MB / 1.037 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.2503, allocations: 300.5 kB / 1.037 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.2504, allocations: 28 kB / 1.037 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.2524, allocations: 0.6035 MB / 1.038 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.2527, allocations: 179.5 kB / 1.038 GB, free: 1.594 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.2531, allocations: 151.7 kB / 1.038 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.255, allocations: 0.7672 MB / 1.039 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.255, allocations: 4 kB / 1.039 GB, free: 0.6719 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2551, allocations: 0 / 1.039 GB, free: 0.6719 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2551, allocations: 0 / 1.039 GB, free: 0.6719 MB / 0.9948 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.001877/0.2569, allocations: 0.7911 MB / 1.04 GB, free: 15.84 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.257, allocations: 8.031 kB / 1.04 GB, free: 15.84 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.2587, allocations: 191.3 kB / 1.04 GB, free: 15.65 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009771/0.2597, allocations: 335 kB / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.2598, allocations: 28.64 kB / 1.04 GB, free: 15.27 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/0.2599, allocations: 36 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009365/0.2608, allocations: 356.8 kB / 1.041 GB, free: 14.85 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.2608, allocations: 7.953 kB / 1.041 GB, free: 14.84 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.2609, allocations: 12 kB / 1.041 GB, free: 14.83 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2609, allocations: 4 kB / 1.041 GB, free: 14.83 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.2616, allocations: 206.5 kB / 1.041 GB, free: 14.63 MB / 1.01 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.00266/0.2643, allocations: 0.8763 MB / 1.042 GB, free: 13.71 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.265, allocations: 219.9 kB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.2654, allocations: 124.1 kB / 1.042 GB, free: 13.36 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.2657, allocations: 44.25 kB / 1.042 GB, free: 13.31 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.2657, allocations: 41.67 kB / 1.042 GB, free: 13.26 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 4.127e-06/0.2657, allocations: 0 / 1.042 GB, free: 13.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=35): time 0.002939/0.2687, allocations: 0.7862 MB / 1.043 GB, free: 12.44 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.2687, allocations: 59.41 kB / 1.043 GB, free: 12.37 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.2693, allocations: 338.3 kB / 1.043 GB, free: 12.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.2693, allocations: 29.7 kB / 1.043 GB, free: 11.99 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.2696, allocations: 243.4 kB / 1.044 GB, free: 11.75 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.2698, allocations: 130.9 kB / 1.044 GB, free: 11.62 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.27, allocations: 75.36 kB / 1.044 GB, free: 11.54 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004092/0.2704, allocations: 0.5352 MB / 1.044 GB, free: 10.99 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.2707, allocations: 67.97 kB / 1.044 GB, free: 10.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.2712, allocations: 243.4 kB / 1.045 GB, free: 10.65 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.002496/0.2737, allocations: 0.5285 MB / 1.045 GB, free: 10.11 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2737, allocations: 0 / 1.045 GB, free: 10.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009062/0.2746, allocations: 281.1 kB / 1.045 GB, free: 9.832 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.2746, allocations: 8 kB / 1.045 GB, free: 9.824 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2746, allocations: 0 / 1.045 GB, free: 9.824 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.2747, allocations: 8.062 kB / 1.045 GB, free: 9.816 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.2751, allocations: 63.91 kB / 1.045 GB, free: 9.754 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2752, allocations: 0 / 1.045 GB, free: 9.754 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.2756, allocations: 15.98 kB / 1.045 GB, free: 9.738 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.2757, allocations: 15.94 kB / 1.045 GB, free: 9.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.0003699/0.276, allocations: 196.5 kB / 1.046 GB, free: 9.52 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.2764, allocations: 47.77 kB / 1.046 GB, free: 9.473 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.2765, allocations: 42.98 kB / 1.046 GB, free: 9.434 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2765, allocations: 4 kB / 1.046 GB, free: 9.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.2765, allocations: 4 kB / 1.046 GB, free: 9.426 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008015/0.2773, allocations: 332.5 kB / 1.046 GB, free: 9.07 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.2799, allocations: 0.9765 MB / 1.047 GB, free: 7.988 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.2799, allocations: 4 kB / 1.047 GB, free: 7.984 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.2804, allocations: 83.89 kB / 1.047 GB, free: 7.902 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.2804, allocations: 4 kB / 1.047 GB, free: 7.898 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.2804, allocations: 12 kB / 1.047 GB, free: 7.887 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.2805, allocations: 7.938 kB / 1.047 GB, free: 7.879 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.2805, allocations: 4 kB / 1.047 GB, free: 7.875 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.2819, allocations: 0.6607 MB / 1.048 GB, free: 7.133 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.2821, allocations: 55.78 kB / 1.048 GB, free: 7.078 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.2822, allocations: 16 kB / 1.048 GB, free: 7.062 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.2826, allocations: 19.98 kB / 1.048 GB, free: 7.043 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.2827, allocations: 35.83 kB / 1.048 GB, free: 7.008 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.2828, allocations: 16 kB / 1.048 GB, free: 6.992 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003341/0.2831, allocations: 231 kB / 1.048 GB, free: 6.766 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.2831, allocations: 0 / 1.048 GB, free: 6.766 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008228/0.2839, allocations: 116 kB / 1.048 GB, free: 6.652 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.0004542/0.2844, allocations: 151.1 kB / 1.048 GB, free: 6.496 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008141/0.2852, allocations: 251.6 kB / 1.049 GB, free: 6.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2852, allocations: 0 / 1.049 GB, free: 6.25 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.2856, allocations: 147.4 kB / 1.049 GB, free: 6.102 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.2872, allocations: 180.7 kB / 1.049 GB, free: 5.934 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2897, allocations: 0.8769 MB / 1.05 GB, free: 4.953 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.2899, allocations: 214.3 kB / 1.05 GB, free: 4.727 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.2903, allocations: 82.89 kB / 1.05 GB, free: 4.648 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2904, allocations: 32.5 kB / 1.05 GB, free: 4.617 MB / 1.01 GB Notification: Performance of SimCode: time 1.773e-06/0.2904, allocations: 0 / 1.05 GB, free: 4.617 MB / 1.01 GB Notification: Performance of Templates: time 0.4746/0.765, allocations: 6.647 MB / 1.057 GB, free: 221 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] 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: 9.713851450942457]