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.001374/0.001374, allocations: 77.47 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.001428/0.001428, allocations: 157.1 kB / 23.01 MB, free: 4.949 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.854/2.854, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.003364/0.003364, allocations: 63.91 kB / 0.9819 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.15, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.205/1.355, allocations: 141.1 MB / 1.292 GB, free: 2.277 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00908/1.364, allocations: 3.531 MB / 1.295 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/1.365, allocations: 24.69 kB / 1.295 GB, free: 15.89 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/1.367, allocations: 181.5 kB / 1.295 GB, free: 15.78 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00424/1.371, allocations: 0.8638 MB / 1.296 GB, free: 15.33 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/1.373, allocations: 436.5 kB / 1.297 GB, free: 15.12 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002753/1.376, allocations: 1.041 MB / 1.298 GB, free: 14.66 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008489/1.377, allocations: 231.3 kB / 1.298 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/1.379, allocations: 0.6085 MB / 1.298 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/1.381, allocations: 321.8 kB / 1.299 GB, free: 14.19 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/1.381, allocations: 30.75 kB / 1.299 GB, free: 14.19 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/1.384, allocations: 0.5955 MB / 1.299 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004789/1.384, allocations: 170.7 kB / 1.3 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007254/1.385, allocations: 178 kB / 1.3 GB, free: 13.78 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/1.387, allocations: 0.7374 MB / 1.3 GB, free: 13.32 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.387, allocations: 0 / 1.3 GB, free: 13.32 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.114e-06/1.387, allocations: 0 / 1.3 GB, free: 13.32 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.154e-05/1.387, allocations: 1.281 kB / 1.3 GB, free: 13.32 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.002154/1.39, allocations: 0.6766 MB / 1.301 GB, free: 12.77 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/1.39, allocations: 8.906 kB / 1.301 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/1.391, allocations: 149 kB / 1.301 GB, free: 12.7 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.392, allocations: 341.5 kB / 1.302 GB, free: 12.42 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/1.392, allocations: 25.5 kB / 1.302 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.242e-05/1.393, allocations: 33.48 kB / 1.302 GB, free: 12.4 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.394, allocations: 433.6 kB / 1.302 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/1.394, allocations: 0 / 1.302 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/1.394, allocations: 15.03 kB / 1.302 GB, free: 12.07 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/1.394, allocations: 7.406 kB / 1.302 GB, free: 12.07 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008578/1.395, allocations: 304.8 kB / 1.302 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/1.397, allocations: 0.7993 MB / 1.303 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/1.398, allocations: 270.6 kB / 1.303 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/1.398, allocations: 171.3 kB / 1.304 GB, free: 11.13 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/1.398, allocations: 46.05 kB / 1.304 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.399, allocations: 42.31 kB / 1.304 GB, free: 11.07 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 2.175e-06/1.399, allocations: 0 / 1.304 GB, free: 11.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=35): time 0.002943/1.401, allocations: 0.9593 MB / 1.305 GB, free: 10.5 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/1.402, allocations: 59.62 kB / 1.305 GB, free: 10.43 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/1.402, allocations: 265.3 kB / 1.305 GB, free: 10.25 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/1.402, allocations: 32.98 kB / 1.305 GB, free: 10.22 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.402, allocations: 177.6 kB / 1.305 GB, free: 10.05 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/1.402, allocations: 129.3 kB / 1.305 GB, free: 9.941 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/1.402, allocations: 59.83 kB / 1.305 GB, free: 9.902 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001748/1.402, allocations: 346.5 kB / 1.306 GB, free: 9.562 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/1.403, allocations: 112.7 kB / 1.306 GB, free: 9.512 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/1.403, allocations: 268.6 kB / 1.306 GB, free: 9.293 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.001868/1.405, allocations: 0.688 MB / 1.307 GB, free: 8.961 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.405, allocations: 0 / 1.307 GB, free: 8.961 MB / 1.154 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006828/1.406, allocations: 356.2 kB / 1.307 GB, free: 8.777 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.406, allocations: 9.531 kB / 1.307 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.406, allocations: 0 / 1.307 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.406, allocations: 2.375 kB / 1.307 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/1.406, allocations: 67.09 kB / 1.307 GB, free: 8.758 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.406, allocations: 5.25 kB / 1.307 GB, free: 8.754 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/1.406, allocations: 18.52 kB / 1.307 GB, free: 8.746 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/1.406, allocations: 11.59 kB / 1.307 GB, free: 8.742 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.0002957/1.407, allocations: 174 kB / 1.307 GB, free: 8.59 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/1.407, allocations: 40.11 kB / 1.307 GB, free: 8.566 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/1.407, allocations: 42.88 kB / 1.307 GB, free: 8.527 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.407, allocations: 3.969 kB / 1.307 GB, free: 8.527 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.407, allocations: 5 kB / 1.307 GB, free: 8.523 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006366/1.408, allocations: 412.4 kB / 1.308 GB, free: 8.238 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/1.409, allocations: 0.9423 MB / 1.309 GB, free: 7.539 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.409, allocations: 3.656 kB / 1.309 GB, free: 7.539 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/1.41, allocations: 79.33 kB / 1.309 GB, free: 7.523 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/1.41, allocations: 5.281 kB / 1.309 GB, free: 7.523 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/1.41, allocations: 19.59 kB / 1.309 GB, free: 7.512 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/1.41, allocations: 5.344 kB / 1.309 GB, free: 7.512 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/1.41, allocations: 7.281 kB / 1.309 GB, free: 7.508 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.411, allocations: 0.6814 MB / 1.309 GB, free: 7.023 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/1.411, allocations: 62.89 kB / 1.309 GB, free: 6.984 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/1.411, allocations: 14.47 kB / 1.309 GB, free: 6.977 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/1.412, allocations: 21.48 kB / 1.309 GB, free: 6.965 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/1.412, allocations: 40.58 kB / 1.31 GB, free: 6.938 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/1.412, allocations: 16.25 kB / 1.31 GB, free: 6.934 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001868/1.412, allocations: 186.3 kB / 1.31 GB, free: 6.805 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/1.412, allocations: 0 / 1.31 GB, free: 6.805 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005155/1.412, allocations: 104.1 kB / 1.31 GB, free: 6.797 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.0002948/1.413, allocations: 154.9 kB / 1.31 GB, free: 6.676 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006364/1.413, allocations: 292.7 kB / 1.31 GB, free: 6.551 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.413, allocations: 1.531 kB / 1.31 GB, free: 6.551 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/1.414, allocations: 160.2 kB / 1.31 GB, free: 6.48 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.415, allocations: 188.7 kB / 1.311 GB, free: 6.383 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/1.416, allocations: 0.9614 MB / 1.312 GB, free: 5.691 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/1.417, allocations: 224.1 kB / 1.312 GB, free: 5.543 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003154/1.417, allocations: 92.17 kB / 1.312 GB, free: 5.5 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/1.417, allocations: 35.81 kB / 1.312 GB, free: 5.488 MB / 1.154 GB Notification: Performance of SimCode: time 1.223e-06/1.417, allocations: 0 / 1.312 GB, free: 5.488 MB / 1.154 GB Notification: Performance of Templates: time 0.01387/1.431, allocations: 6.638 MB / 1.318 GB, free: 36 kB / 1.154 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 -s ida -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/jenkins1/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.715130108990707]