Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 65.5 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.238, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003035/0.2411, allocations: 2.014 MB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.2452, allocations: 3.7 MB / 0.9567 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2453, allocations: 0 / 0.9567 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.2456, allocations: 59.55 kB / 0.9568 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.2459, allocations: 99.28 kB / 0.9569 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.2463, allocations: 135.6 kB / 0.957 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.2466, allocations: 251.1 kB / 0.9572 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2467, allocations: 52.36 kB / 0.9573 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.2469, allocations: 119.5 kB / 0.9574 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2471, allocations: 111.5 kB / 0.9575 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2471, allocations: 16 kB / 0.9575 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.2473, allocations: 111.8 kB / 0.9576 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.2474, allocations: 51.81 kB / 0.9577 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.2475, allocations: 95.41 kB / 0.9578 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.2478, allocations: 283 kB / 0.958 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2478, allocations: 4 kB / 0.958 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2478, allocations: 0 / 0.958 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2478, allocations: 0 / 0.958 GB, free: 0.9727 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001066/0.2489, allocations: 0.5802 MB / 0.9586 GB, free: 352 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.249, allocations: 11.97 kB / 0.9586 GB, free: 340 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.249, allocations: 28.64 kB / 0.9586 GB, free: 312 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.2495, allocations: 267.5 kB / 0.9589 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2495, allocations: 4.375 kB / 0.9589 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.2495, allocations: 12.42 kB / 0.9589 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.25, allocations: 175.7 kB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.25, allocations: 0 / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.2501, allocations: 4 kB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2501, allocations: 3.938 kB / 0.9591 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.2507, allocations: 195.8 kB / 0.9593 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.2516, allocations: 488.3 kB / 0.9597 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.252, allocations: 122.5 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.2523, allocations: 116.7 kB / 0.96 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008402/0.2531, allocations: 0.5415 MB / 0.9605 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.2532, allocations: 42.56 kB / 0.9605 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.2532, allocations: 0 / 0.9605 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.001141/0.2543, allocations: 353.3 kB / 0.9609 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2544, allocations: 51.41 kB / 0.9609 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.2546, allocations: 234.7 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2546, allocations: 25.7 kB / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.2547, allocations: 144 kB / 0.9613 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.2548, allocations: 39.45 kB / 0.9613 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.2548, allocations: 25.7 kB / 0.9614 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.255, allocations: 334.8 kB / 0.9617 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.2553, allocations: 99.84 kB / 0.9618 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.2556, allocations: 99.91 kB / 0.9619 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.2562, allocations: 201.3 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2563, allocations: 0 / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007243/0.257, allocations: 253.2 kB / 0.9623 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.257, allocations: 11.98 kB / 0.9623 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.257, allocations: 0 / 0.9623 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.257, allocations: 0 / 0.9623 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.2574, allocations: 47.89 kB / 0.9624 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2574, allocations: 3.938 kB / 0.9624 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.2576, allocations: 31.89 kB / 0.9624 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.2576, allocations: 8 kB / 0.9624 GB, free: 12.15 MB / 0.7481 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 (11): * Single equations (assignments): 11 * 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.0001074/0.2577, allocations: 125.8 kB / 0.9625 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.2578, allocations: 23.72 kB / 0.9625 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008044/0.2586, allocations: 283 kB / 0.9628 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2586, allocations: 3.984 kB / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2586, allocations: 3.938 kB / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2586, allocations: 0 / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.2589, allocations: 277.4 kB / 0.9631 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2589, allocations: 0 / 0.9631 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.2592, allocations: 55.92 kB / 0.9631 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2593, allocations: 0 / 0.9631 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.2593, allocations: 3.984 kB / 0.9631 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2593, allocations: 0 / 0.9631 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2593, allocations: 3.938 kB / 0.9632 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.2601, allocations: 363 kB / 0.9635 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.2602, allocations: 112.8 kB / 0.9636 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.2602, allocations: 0 / 0.9636 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.2605, allocations: 27.97 kB / 0.9636 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.2605, allocations: 15.92 kB / 0.9636 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2606, allocations: 11.98 kB / 0.9637 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001283/0.2607, allocations: 170 kB / 0.9638 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2607, allocations: 0 / 0.9638 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003276/0.261, allocations: 63.89 kB / 0.9639 GB, free: 10.54 MB / 0.7481 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 (11): * Single equations (assignments): 11 * 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.000202/0.2612, allocations: 123.2 kB / 0.964 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007332/0.262, allocations: 223.7 kB / 0.9642 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.262, allocations: 0 / 0.9642 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.2624, allocations: 115.9 kB / 0.9643 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2628, allocations: 28.55 kB / 0.9644 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.2635, allocations: 431.2 kB / 0.9648 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2638, allocations: 0.7353 MB / 0.9655 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.264, allocations: 44.83 kB / 0.9655 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.2641, allocations: 19.42 kB / 0.9655 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of SimCode: time 1.543e-06/0.2641, allocations: 0 / 0.9655 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of Templates: time 0.00613/0.2702, allocations: 2.694 MB / 0.9682 GB, free: 6.109 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches