Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.001758/0.001758, allocations: 110 kB / 16.46 MB, free: 6.453 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.002025/0.002025, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.539/1.539, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.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 3.355/3.355, allocations: 0.4899 GB / 0.7915 GB, free: 33.52 MB / 0.6231 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.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") [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.002112/0.002112, allocations: 70.44 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4466, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003653/0.4503, allocations: 1.867 MB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.4519, allocations: 0.7907 MB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.452, allocations: 4 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.939e-05/0.452, allocations: 11.86 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.4524, allocations: 59.61 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.4526, allocations: 75.78 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.453, allocations: 143.4 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.4531, allocations: 33.33 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.4532, allocations: 55.77 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.4533, allocations: 51.78 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.4533, allocations: 8 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.4534, allocations: 23.98 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.4535, allocations: 19.92 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.4535, allocations: 43.8 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.4537, allocations: 123.5 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4538, allocations: 4 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4538, allocations: 4 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.4538, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006895/0.4545, allocations: 416.8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4545, allocations: 15.98 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.4546, allocations: 16.88 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.4549, allocations: 196.1 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.455, allocations: 12.38 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.455, allocations: 8.375 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.4552, allocations: 104.4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4552, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4553, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4553, allocations: 4 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.4555, allocations: 59.95 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.4561, allocations: 372.5 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.4564, allocations: 50.48 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.4565, allocations: 24.91 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.4565, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4565, allocations: 34.56 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4565, allocations: 4 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004016/0.4569, allocations: 105.5 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.457, allocations: 55.34 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4571, allocations: 152.5 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.4571, allocations: 25.7 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.4572, allocations: 108 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.4572, allocations: 15.94 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.4573, allocations: 17.72 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4575, allocations: 318.8 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4576, allocations: 24.84 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.4577, allocations: 23.97 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.4578, allocations: 48.83 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4578, allocations: 3.938 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002323/0.4581, allocations: 89.5 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4581, allocations: 7.938 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4581, allocations: 0 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4581, allocations: 336 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.4582, allocations: 11.98 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4582, allocations: 4 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.4583, allocations: 15.92 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4583, allocations: 4 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001504/0.4584, allocations: 104.1 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.294e-05/0.4585, allocations: 27.95 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001567/0.4587, allocations: 44.83 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.11e-07/0.4587, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002299/0.4589, allocations: 89.55 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.4589, allocations: 4 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.4589, allocations: 3.984 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.4589, allocations: 3.938 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.459, allocations: 8 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.459, allocations: 4 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.459, allocations: 7.984 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-06/0.459, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0001135/0.4592, allocations: 186 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.4592, allocations: 11.89 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.4595, allocations: 85.83 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4595, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4595, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4595, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.4597, allocations: 197.6 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4597, allocations: 8 kB / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.4598, allocations: 11.98 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4598, allocations: 3.938 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.4598, allocations: 0 / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4598, allocations: 3.938 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4598, allocations: 0 / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4601, allocations: 179.5 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.4601, allocations: 85.05 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.4602, allocations: 15.81 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.4602, allocations: 8 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.4603, allocations: 3.984 kB / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4603, allocations: 0 / 1.328 GB, free: 11.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001133/0.4604, allocations: 120.7 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4604, allocations: 0 / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003081/0.4607, allocations: 35.89 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0001855/0.4609, allocations: 107.2 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.4612, allocations: 71.92 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4612, allocations: 0 / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.4613, allocations: 24.34 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4617, allocations: 23.98 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.4621, allocations: 209.3 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.4625, allocations: 0.7 MB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.565e-05/0.4625, allocations: 20.44 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.4625, allocations: 15.44 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4625, allocations: 0 / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of Templates: time 0.004694/0.4672, allocations: 1.355 MB / 1.33 GB, free: 9.051 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.448355222120881]