Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001136/0.001136, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.009503/0.009503, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.8 MB / 0.7121 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.6362, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002171/0.6384, allocations: 1.722 MB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004015/0.6425, allocations: 3.602 MB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.6426, allocations: 4 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.6428, allocations: 47.73 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.6431, allocations: 107.3 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.6434, allocations: 99.83 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.6437, allocations: 239.1 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.6438, allocations: 52.22 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.644, allocations: 99.61 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.6442, allocations: 103.5 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.6442, allocations: 8 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.6444, allocations: 111.8 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.6445, allocations: 43.77 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.6446, allocations: 113.2 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.6449, allocations: 255 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6449, allocations: 4 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6449, allocations: 0 / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6449, allocations: 0 / 1.029 GB, free: 9.191 MB / 0.7794 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.001075/0.646, allocations: 0.5803 MB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6461, allocations: 11.97 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.6461, allocations: 24.66 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.6465, allocations: 279.6 kB / 1.03 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.6465, allocations: 4.375 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.6466, allocations: 8.375 kB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/0.6471, allocations: 198.8 kB / 1.031 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6471, allocations: 0 / 1.031 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.6471, allocations: 4 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.6472, allocations: 0 / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/0.6479, allocations: 235.8 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.6489, allocations: 0.4886 MB / 1.031 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.6493, allocations: 142.5 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.6497, allocations: 132.8 kB / 1.031 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008985/0.6506, allocations: 0.5805 MB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.6507, allocations: 34.56 kB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.6507, allocations: 0 / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001331/0.652, allocations: 425.3 kB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.6521, allocations: 51.41 kB / 1.033 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.6523, allocations: 234.7 kB / 1.033 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.6523, allocations: 29.7 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.6524, allocations: 140 kB / 1.033 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.6524, allocations: 35.45 kB / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.6525, allocations: 17.72 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6526, allocations: 334.8 kB / 1.033 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.653, allocations: 119.9 kB / 1.033 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.6534, allocations: 115.8 kB / 1.034 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.6542, allocations: 249.2 kB / 1.034 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6542, allocations: 0 / 1.034 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008349/0.655, allocations: 297.3 kB / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.655, allocations: 4 kB / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.655, allocations: 0 / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.6551, allocations: 0 / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.6554, allocations: 63.88 kB / 1.034 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.6554, allocations: 3.938 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.6556, allocations: 43.88 kB / 1.034 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.6557, allocations: 7.984 kB / 1.034 GB, free: 4.027 MB / 0.7794 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.0001095/0.6558, allocations: 122.4 kB / 1.034 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.6558, allocations: 23.66 kB / 1.034 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009519/0.6568, allocations: 331.1 kB / 1.035 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6568, allocations: 3.938 kB / 1.035 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.6568, allocations: 7.938 kB / 1.035 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6568, allocations: 4 kB / 1.035 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.6571, allocations: 269.5 kB / 1.035 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6571, allocations: 0 / 1.035 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.6574, allocations: 51.94 kB / 1.035 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6574, allocations: 4 kB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6575, allocations: 11.98 kB / 1.035 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6575, allocations: 0 / 1.035 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6575, allocations: 7.922 kB / 1.035 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.6584, allocations: 395 kB / 1.035 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/0.6585, allocations: 116.7 kB / 1.035 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.6585, allocations: 8 kB / 1.035 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.6588, allocations: 35.97 kB / 1.035 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.6589, allocations: 19.91 kB / 1.036 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.6589, allocations: 4 kB / 1.036 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001382/0.659, allocations: 170 kB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.659, allocations: 0 / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003254/0.6594, allocations: 55.94 kB / 1.036 GB, free: 2.316 MB / 0.7794 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.0002037/0.6596, allocations: 135.2 kB / 1.036 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008248/0.6604, allocations: 263.7 kB / 1.036 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6604, allocations: 0 / 1.036 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.6608, allocations: 139.9 kB / 1.036 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.6613, allocations: 25.3 kB / 1.036 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.6621, allocations: 0.5087 MB / 1.037 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.6624, allocations: 0.7395 MB / 1.037 GB, free: 468 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.6626, allocations: 32.84 kB / 1.038 GB, free: 432 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.6627, allocations: 19.42 kB / 1.038 GB, free: 416 kB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6627, allocations: 0 / 1.038 GB, free: 416 kB / 0.7794 GB Notification: Performance of Templates: time 0.005628/0.6683, allocations: 2.37 MB / 1.04 GB, free: 14.06 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches