Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.002026/0.002026, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001936/0.001936, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.686/2.686, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [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.002085/0.002085, allocations: 71.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 169.9 MB / 1.117 GB, free: 2.531 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003647/0.3173, allocations: 2.071 MB / 1.119 GB, free: 456 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005063/0.3224, allocations: 3.67 MB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3225, allocations: 4 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.3228, allocations: 55.5 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.3232, allocations: 119.1 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.3237, allocations: 199.5 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.3241, allocations: 326.8 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3243, allocations: 44.78 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.3245, allocations: 143.5 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.3248, allocations: 139.3 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.3248, allocations: 20 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.3251, allocations: 123.8 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.3252, allocations: 59.75 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3253, allocations: 99.45 kB / 1.124 GB, free: 11.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.3258, allocations: 362.4 kB / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3258, allocations: 3.984 kB / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3258, allocations: 0 / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3258, allocations: 0 / 1.125 GB, free: 11.09 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001338/0.3272, allocations: 0.5785 MB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3272, allocations: 8.031 kB / 1.125 GB, free: 10.47 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.3287, allocations: 236.4 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.3295, allocations: 278.6 kB / 1.126 GB, free: 9.941 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3296, allocations: 8.562 kB / 1.126 GB, free: 9.934 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.3296, allocations: 15.94 kB / 1.126 GB, free: 9.918 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/0.3303, allocations: 221.5 kB / 1.126 GB, free: 9.695 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3303, allocations: 0 / 1.126 GB, free: 9.695 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.3304, allocations: 0 / 1.126 GB, free: 9.695 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3304, allocations: 4 kB / 1.126 GB, free: 9.691 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3314, allocations: 283.7 kB / 1.126 GB, free: 9.414 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3327, allocations: 492.1 kB / 1.127 GB, free: 8.902 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.3333, allocations: 166.4 kB / 1.127 GB, free: 8.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.3339, allocations: 148.7 kB / 1.127 GB, free: 8.582 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/0.3346, allocations: 99.86 kB / 1.127 GB, free: 8.484 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3346, allocations: 38.5 kB / 1.127 GB, free: 8.438 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.3346, allocations: 0 / 1.127 GB, free: 8.438 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.001798/0.3364, allocations: 489.3 kB / 1.128 GB, free: 7.953 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.3364, allocations: 51.41 kB / 1.128 GB, free: 7.891 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.3367, allocations: 280.6 kB / 1.128 GB, free: 7.609 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3368, allocations: 29.7 kB / 1.128 GB, free: 7.574 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3369, allocations: 163.9 kB / 1.128 GB, free: 7.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.337, allocations: 39.64 kB / 1.128 GB, free: 7.371 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3371, allocations: 41.7 kB / 1.128 GB, free: 7.324 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3372, allocations: 338.7 kB / 1.129 GB, free: 6.984 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.3378, allocations: 155.8 kB / 1.129 GB, free: 6.832 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.3383, allocations: 139.9 kB / 1.129 GB, free: 6.695 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3394, allocations: 299 kB / 1.129 GB, free: 6.402 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3394, allocations: 0 / 1.129 GB, free: 6.402 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001226/0.3406, allocations: 373.1 kB / 1.129 GB, free: 6.031 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3407, allocations: 8 kB / 1.129 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3407, allocations: 0 / 1.129 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3407, allocations: 0 / 1.129 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.3412, allocations: 71.84 kB / 1.13 GB, free: 5.953 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3412, allocations: 4 kB / 1.13 GB, free: 5.949 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.3415, allocations: 47.84 kB / 1.13 GB, free: 5.902 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.3415, allocations: 7.984 kB / 1.13 GB, free: 5.895 MB / 1.076 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 (17): * Single equations (assignments): 17 * 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.0001432/0.3417, allocations: 133.8 kB / 1.13 GB, free: 5.754 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.3417, allocations: 27.81 kB / 1.13 GB, free: 5.727 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.343, allocations: 380.9 kB / 1.13 GB, free: 5.352 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.343, allocations: 4 kB / 1.13 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3431, allocations: 0 / 1.13 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3431, allocations: 0 / 1.13 GB, free: 5.348 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3434, allocations: 229 kB / 1.13 GB, free: 5.094 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3434, allocations: 4 kB / 1.13 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.3438, allocations: 59.92 kB / 1.13 GB, free: 5.031 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3438, allocations: 0 / 1.13 GB, free: 5.031 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.3438, allocations: 7.984 kB / 1.13 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3438, allocations: 0 / 1.13 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.3438, allocations: 3.984 kB / 1.13 GB, free: 5.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3451, allocations: 455.5 kB / 1.131 GB, free: 4.559 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3452, allocations: 47.78 kB / 1.131 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.3452, allocations: 7.984 kB / 1.131 GB, free: 4.504 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.3456, allocations: 31.95 kB / 1.131 GB, free: 4.473 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.3457, allocations: 15.97 kB / 1.131 GB, free: 4.457 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.3457, allocations: 7.984 kB / 1.131 GB, free: 4.449 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001947/0.3459, allocations: 195.1 kB / 1.131 GB, free: 4.262 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3459, allocations: 3.938 kB / 1.131 GB, free: 4.258 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003968/0.3463, allocations: 75.81 kB / 1.131 GB, free: 4.184 MB / 1.076 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 (13): * Single equations (assignments): 13 * 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.0002363/0.3465, allocations: 143 kB / 1.131 GB, free: 4.031 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.3477, allocations: 315.6 kB / 1.132 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3477, allocations: 0 / 1.132 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.3483, allocations: 163.8 kB / 1.132 GB, free: 3.566 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.3487, allocations: 29.14 kB / 1.132 GB, free: 3.539 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3498, allocations: 0.5113 MB / 1.132 GB, free: 3.004 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.35, allocations: 150.4 kB / 1.132 GB, free: 2.836 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.3502, allocations: 45.45 kB / 1.132 GB, free: 2.789 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3503, allocations: 24.48 kB / 1.133 GB, free: 2.766 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/0.3503, allocations: 0 / 1.133 GB, free: 2.766 MB / 1.076 GB Notification: Performance of Templates: time 0.5896/0.9399, allocations: 3.453 MB / 1.136 GB, free: 58.68 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.568028472014703]