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.001401/0.001401, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001608/0.001608, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 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 2.967/2.967, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 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.924e-06/1.924e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.2e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2031/0.2031, allocations: 141.1 MB / 1.119 GB, free: 14.37 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005868/0.209, allocations: 3.531 MB / 1.123 GB, free: 10.83 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.2094, allocations: 19.81 kB / 1.123 GB, free: 10.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.2101, allocations: 190.6 kB / 1.123 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.2124, allocations: 0.8821 MB / 1.124 GB, free: 9.738 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.2136, allocations: 457.5 kB / 1.124 GB, free: 9.297 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.2153, allocations: 1.042 MB / 1.125 GB, free: 8.254 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004788/0.2158, allocations: 229.1 kB / 1.125 GB, free: 8.027 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.2175, allocations: 0.7242 MB / 1.126 GB, free: 7.301 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.2186, allocations: 297.6 kB / 1.126 GB, free: 7.012 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.562e-05/0.2187, allocations: 32 kB / 1.126 GB, free: 6.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.2202, allocations: 0.5997 MB / 1.127 GB, free: 6.379 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.2204, allocations: 175.5 kB / 1.127 GB, free: 6.207 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.2207, allocations: 155.6 kB / 1.127 GB, free: 6.055 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.222, allocations: 0.7673 MB / 1.128 GB, free: 5.285 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.222, allocations: 0 / 1.128 GB, free: 5.285 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.263e-06/0.222, allocations: 0 / 1.128 GB, free: 5.285 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2221, allocations: 0 / 1.128 GB, free: 5.285 MB / 1.076 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.001398/0.2234, allocations: 0.668 MB / 1.129 GB, free: 4.582 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2235, allocations: 16.03 kB / 1.129 GB, free: 4.566 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.2246, allocations: 147.6 kB / 1.129 GB, free: 4.422 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.2254, allocations: 340.2 kB / 1.129 GB, free: 4.062 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.2254, allocations: 24.66 kB / 1.129 GB, free: 4.039 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/0.2255, allocations: 28 kB / 1.129 GB, free: 4.012 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.2262, allocations: 432.8 kB / 1.13 GB, free: 3.562 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.2262, allocations: 0 / 1.13 GB, free: 3.562 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.2263, allocations: 12 kB / 1.13 GB, free: 3.551 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2263, allocations: 12 kB / 1.13 GB, free: 3.539 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.2269, allocations: 306.4 kB / 1.13 GB, free: 3.234 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.2286, allocations: 0.7969 MB / 1.131 GB, free: 2.402 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.2292, allocations: 273.9 kB / 1.131 GB, free: 2.129 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.2296, allocations: 169.3 kB / 1.131 GB, free: 1.961 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.2298, allocations: 40.25 kB / 1.131 GB, free: 1.922 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.2298, allocations: 42.78 kB / 1.131 GB, free: 1.871 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.275e-06/0.2298, allocations: 4 kB / 1.131 GB, free: 1.867 MB / 1.076 GB Notification: Performance of matching and sorting (n=35): time 0.002447/0.2323, allocations: 0.9547 MB / 1.132 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.2323, allocations: 59.34 kB / 1.132 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.2326, allocations: 260.2 kB / 1.132 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.2327, allocations: 37.64 kB / 1.133 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.2328, allocations: 184.7 kB / 1.133 GB, free: 332 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.233, allocations: 122.9 kB / 1.133 GB, free: 208 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.2331, allocations: 65.69 kB / 1.133 GB, free: 136 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.5116/0.7447, allocations: 346.6 kB / 1.133 GB, free: 196.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.7451, allocations: 112.8 kB / 1.133 GB, free: 196.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.7454, allocations: 261.3 kB / 1.134 GB, free: 196.5 MB / 1.076 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.001663/0.747, allocations: 0.69 MB / 1.134 GB, free: 196.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.747, allocations: 0 / 1.134 GB, free: 196.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005539/0.7476, allocations: 350.1 kB / 1.135 GB, free: 196.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7476, allocations: 5.75 kB / 1.135 GB, free: 196.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7476, allocations: 3.844 kB / 1.135 GB, free: 196.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7476, allocations: 2.812 kB / 1.135 GB, free: 196.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.7479, allocations: 65.19 kB / 1.135 GB, free: 196.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7479, allocations: 3.594 kB / 1.135 GB, free: 196.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.7483, allocations: 21.39 kB / 1.135 GB, free: 196.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.7483, allocations: 9.219 kB / 1.135 GB, free: 196.4 MB / 1.076 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.0001817/0.7485, allocations: 178.2 kB / 1.135 GB, free: 196.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.267e-05/0.7485, allocations: 32.45 kB / 1.135 GB, free: 196.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.7486, allocations: 44.94 kB / 1.135 GB, free: 196.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.7486, allocations: 5.562 kB / 1.135 GB, free: 196.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7486, allocations: 3.938 kB / 1.135 GB, free: 196.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004886/0.7491, allocations: 414 kB / 1.135 GB, free: 195.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.7504, allocations: 0.9438 MB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7504, allocations: 2.562 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.7508, allocations: 81.16 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7508, allocations: 5.219 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.7508, allocations: 12.22 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.7508, allocations: 8.547 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.7508, allocations: 9.375 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/0.7516, allocations: 0.6859 MB / 1.137 GB, free: 195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.7517, allocations: 61.02 kB / 1.137 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.7517, allocations: 13.22 kB / 1.137 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.752, allocations: 13.16 kB / 1.137 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.7521, allocations: 40.08 kB / 1.137 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.7521, allocations: 21.11 kB / 1.137 GB, free: 194.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001262/0.7523, allocations: 184.8 kB / 1.137 GB, free: 194.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.7523, allocations: 0 / 1.137 GB, free: 194.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004417/0.7527, allocations: 115.4 kB / 1.137 GB, free: 194.8 MB / 1.076 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.0002587/0.753, allocations: 150.5 kB / 1.138 GB, free: 194.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.7535, allocations: 292.8 kB / 1.138 GB, free: 194.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7535, allocations: 5.656 kB / 1.138 GB, free: 194.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.7537, allocations: 161 kB / 1.138 GB, free: 194.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009615/0.7547, allocations: 180.5 kB / 1.138 GB, free: 194.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.7559, allocations: 0.8847 MB / 1.139 GB, free: 194 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.756, allocations: 221.4 kB / 1.139 GB, free: 193.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002341/0.7563, allocations: 94.5 kB / 1.139 GB, free: 193.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/0.7563, allocations: 37.33 kB / 1.139 GB, free: 193.9 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.7563, allocations: 0 / 1.139 GB, free: 193.9 MB / 1.076 GB Notification: Performance of Templates: time 0.01065/0.767, allocations: 6.575 MB / 1.146 GB, free: 193.3 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] 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: 9.04544049501419]