Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00114/0.00114, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001599/0.002738, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001043/0.001043, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002448, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 0.8922/0.8922, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08094/0.9731, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.779/1.779, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5004/2.279, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.116e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.006217/0.006238, allocations: 2.255 MB / 0.7319 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.01751, allocations: 4.248 MB / 0.736 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.01765, allocations: 4 kB / 0.736 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.01842, allocations: 181 kB / 0.7362 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.01859, allocations: 86.19 kB / 0.7363 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.01929, allocations: 309.7 kB / 0.7366 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006713/0.01996, allocations: 456.5 kB / 0.737 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.02008, allocations: 34.89 kB / 0.737 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.0234, allocations: 247.2 kB / 0.7373 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.02358, allocations: 125 kB / 0.7374 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.02378, allocations: 20 kB / 0.7374 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005942/0.02437, allocations: 360.2 kB / 0.7377 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.02449, allocations: 97.5 kB / 0.7378 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.02459, allocations: 87.75 kB / 0.7379 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.02517, allocations: 470.4 kB / 0.7384 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.02518, allocations: 4 kB / 0.7384 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.412e-06/0.02518, allocations: 0 / 0.7384 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.02519, allocations: 1.344 kB / 0.7384 GB, free: 11.52 MB / 0.7136 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.001076/0.02627, allocations: 0.7621 MB / 0.7391 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.003048/0.02932, allocations: 12.03 kB / 0.7391 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007055/0.03002, allocations: 209.9 kB / 0.7393 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.03036, allocations: 259.8 kB / 0.7396 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.03038, allocations: 8.562 kB / 0.7396 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.03041, allocations: 12.38 kB / 0.7396 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.03075, allocations: 166.3 kB / 0.7398 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.03076, allocations: 3.031 kB / 0.7398 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.03078, allocations: 4 kB / 0.7398 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.03079, allocations: 4 kB / 0.7398 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.0309, allocations: 53.03 kB / 0.7398 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.03161, allocations: 348.9 kB / 0.7401 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.03176, allocations: 115.2 kB / 0.7403 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.03183, allocations: 37.03 kB / 0.7403 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.03188, allocations: 19.92 kB / 0.7403 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.03191, allocations: 42.56 kB / 0.7404 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.03191, allocations: 0 / 0.7404 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0003076/0.03222, allocations: 132.7 kB / 0.7405 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.03225, allocations: 59.34 kB / 0.7405 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.03285, allocations: 371.2 kB / 0.7409 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.03287, allocations: 29.7 kB / 0.7409 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.03296, allocations: 141.4 kB / 0.7411 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.03301, allocations: 47.56 kB / 0.7411 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.03311, allocations: 49.66 kB / 0.7411 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.03326, allocations: 359.4 kB / 0.7415 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.03339, allocations: 86 kB / 0.7416 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.03349, allocations: 82.84 kB / 0.7416 GB, free: 8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.0337, allocations: 153.3 kB / 0.7418 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.03371, allocations: 0 / 0.7418 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003333/0.03404, allocations: 251.1 kB / 0.742 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.0341, allocations: 48.66 kB / 0.7421 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.03411, allocations: 3.938 kB / 0.7421 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.03413, allocations: 0 / 0.7421 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.0344, allocations: 61.2 kB / 0.7421 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.0344, allocations: 0 / 0.7421 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.03456, allocations: 45.22 kB / 0.7422 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.03458, allocations: 0 / 0.7422 GB, free: 7.426 MB / 0.7136 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001253/0.03471, allocations: 121.1 kB / 0.7423 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.03476, allocations: 28.53 kB / 0.7423 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.03506, allocations: 155.6 kB / 0.7425 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.03507, allocations: 0 / 0.7425 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.03507, allocations: 4 kB / 0.7425 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.03508, allocations: 0.5938 kB / 0.7425 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.03533, allocations: 170.2 kB / 0.7426 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03533, allocations: 0 / 0.7426 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.03554, allocations: 61.08 kB / 0.7427 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.0356, allocations: 43.7 kB / 0.7427 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.0356, allocations: 5.406 kB / 0.7427 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.03562, allocations: 3.984 kB / 0.7428 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.03562, allocations: 4 kB / 0.7428 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.03562, allocations: 0 / 0.7428 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.03584, allocations: 255.9 kB / 0.743 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.03588, allocations: 3.938 kB / 0.743 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.03599, allocations: 26.42 kB / 0.743 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.03605, allocations: 15.97 kB / 0.743 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.03607, allocations: 11.98 kB / 0.7431 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001193/0.03619, allocations: 160.7 kB / 0.7432 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.03619, allocations: 0 / 0.7432 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002989/0.03649, allocations: 123.8 kB / 0.7433 GB, free: 6.219 MB / 0.7136 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.0002888/0.03678, allocations: 186.1 kB / 0.7435 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.03706, allocations: 242.1 kB / 0.7437 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.03707, allocations: 7.984 kB / 0.7437 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.03716, allocations: 62.89 kB / 0.7438 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.03763, allocations: 0.5897 MB / 0.7444 GB, free: 5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.04165, allocations: 0.6077 MB / 0.745 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.04172, allocations: 104.3 kB / 0.7451 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000132/0.04185, allocations: 39.3 kB / 0.7451 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.04203, allocations: 115.3 kB / 0.7452 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.04203, allocations: 1.094 kB / 0.7452 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of Templates: time 0.007444/0.04947, allocations: 6.12 MB / 0.7512 GB, free: 14.17 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.837501622736454]