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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008315/0.0008316, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005253/0.005253, allocations: 172.9 kB / 16.26 MB, free: 6.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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6822, allocations: 142.4 MB / 0.955 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002098/0.6844, allocations: 1.71 MB / 0.9567 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00402/0.6884, allocations: 3.622 MB / 0.9603 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.6886, allocations: 2.75 kB / 0.9603 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.6888, allocations: 41.5 kB / 0.9603 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.6892, allocations: 104.2 kB / 0.9604 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.6895, allocations: 108.6 kB / 0.9605 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.6899, allocations: 239.8 kB / 0.9607 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.69, allocations: 50.11 kB / 0.9608 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.6902, allocations: 97.39 kB / 0.9609 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.6904, allocations: 102.5 kB / 0.961 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.6904, allocations: 8.312 kB / 0.961 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.6907, allocations: 112 kB / 0.9611 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.6907, allocations: 39.38 kB / 0.9611 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.432e-05/0.6908, allocations: 113.4 kB / 0.9612 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.6911, allocations: 262.3 kB / 0.9615 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6911, allocations: 1.156 kB / 0.9615 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6911, allocations: 0 / 0.9615 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.6912, allocations: 3.938 kB / 0.9615 GB, free: 2.641 MB / 0.7169 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.001132/0.6923, allocations: 0.5727 MB / 0.962 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6923, allocations: 9.781 kB / 0.962 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.6924, allocations: 27.84 kB / 0.9621 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.6928, allocations: 274.9 kB / 0.9623 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6929, allocations: 6.812 kB / 0.9623 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.6929, allocations: 10.34 kB / 0.9624 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.6935, allocations: 196.7 kB / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6935, allocations: 0 / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.6935, allocations: 1.062 kB / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6935, allocations: 2.125 kB / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007452/0.6943, allocations: 236.8 kB / 0.9628 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.6951, allocations: 0.4909 MB / 0.9632 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.6955, allocations: 148.3 kB / 0.9634 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.6959, allocations: 131.7 kB / 0.9635 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007861/0.6967, allocations: 0.5747 MB / 0.9641 GB, free: 476 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.6967, allocations: 35.86 kB / 0.9641 GB, free: 432 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.6967, allocations: 0 / 0.9641 GB, free: 432 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001305/0.6981, allocations: 419.6 kB / 0.9645 GB, free: 240 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.6981, allocations: 56.41 kB / 0.9646 GB, free: 172 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.6984, allocations: 239.3 kB / 0.9648 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.6984, allocations: 30.98 kB / 0.9648 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.6985, allocations: 137 kB / 0.965 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.6986, allocations: 36.48 kB / 0.965 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.6986, allocations: 16.19 kB / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6987, allocations: 332.5 kB / 0.9653 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.6991, allocations: 118.6 kB / 0.9654 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.6995, allocations: 114.9 kB / 0.9655 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.7003, allocations: 246.8 kB / 0.9658 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7003, allocations: 3.938 kB / 0.9658 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008573/0.7012, allocations: 296.3 kB / 0.9661 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7012, allocations: 5.375 kB / 0.9661 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.7012, allocations: 1.031 kB / 0.9661 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.7012, allocations: 0 / 0.9661 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.7016, allocations: 58.31 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.7016, allocations: 4.938 kB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.7018, allocations: 36.5 kB / 0.9662 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.7019, allocations: 15.5 kB / 0.9662 GB, free: 15.06 MB / 0.7325 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.0001251/0.702, allocations: 129.1 kB / 0.9663 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.7021, allocations: 22.25 kB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.7031, allocations: 329.5 kB / 0.9666 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.7031, allocations: 1.344 kB / 0.9666 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.7031, allocations: 8.938 kB / 0.9666 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.7031, allocations: 0 / 0.9666 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.7035, allocations: 270.3 kB / 0.9669 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7035, allocations: 3.984 kB / 0.9669 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.7038, allocations: 57.95 kB / 0.967 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7038, allocations: 1.062 kB / 0.967 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.7038, allocations: 9.953 kB / 0.967 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7038, allocations: 0 / 0.967 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.7039, allocations: 4.656 kB / 0.967 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.7048, allocations: 399.3 kB / 0.9674 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.7049, allocations: 112.6 kB / 0.9675 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.7049, allocations: 1.031 kB / 0.9675 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.7052, allocations: 44.19 kB / 0.9675 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.7053, allocations: 22 kB / 0.9675 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.7053, allocations: 6.016 kB / 0.9675 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001412/0.7055, allocations: 168.4 kB / 0.9677 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7055, allocations: 0 / 0.9677 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003359/0.7058, allocations: 56.12 kB / 0.9678 GB, free: 13.91 MB / 0.7325 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.0002259/0.7061, allocations: 132.8 kB / 0.9679 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008736/0.7069, allocations: 257.6 kB / 0.9681 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.707, allocations: 4 kB / 0.9681 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.7074, allocations: 143.2 kB / 0.9683 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.7079, allocations: 24.64 kB / 0.9683 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.7087, allocations: 0.4999 MB / 0.9688 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.709, allocations: 0.7315 MB / 0.9695 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.7092, allocations: 38.5 kB / 0.9695 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.7093, allocations: 21.48 kB / 0.9695 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.7093, allocations: 0 / 0.9695 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.005789/0.7151, allocations: 2.362 MB / 0.9719 GB, free: 11.31 MB / 0.7325 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 -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/jenkins/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