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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001585/0.001585, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.588/2.588, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 0.8685 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6378, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003697/0.6416, allocations: 2.076 MB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004977/0.6466, allocations: 3.668 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.6468, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.6472, allocations: 47.73 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004477/0.6477, allocations: 103.3 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.6481, allocations: 103.8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.6486, allocations: 239.1 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.6487, allocations: 52.23 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.649, allocations: 95.62 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.6493, allocations: 115.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.6493, allocations: 8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.6496, allocations: 107.8 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.6497, allocations: 51.7 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.6498, allocations: 91.39 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.6502, allocations: 263.1 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6502, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6502, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.6502, allocations: 0 / 1.023 GB, free: 11.7 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.001255/0.6515, allocations: 0.5801 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6516, allocations: 8.031 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.6516, allocations: 36.58 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.6521, allocations: 271.5 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.6521, allocations: 8.375 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.6522, allocations: 4.375 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.6527, allocations: 181.6 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6527, allocations: 0 / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.6527, allocations: 7.984 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6527, allocations: 0 / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.6534, allocations: 191.8 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009806/0.6544, allocations: 492.3 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.6549, allocations: 122.5 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.6552, allocations: 112.7 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000881/0.6561, allocations: 0.5493 MB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.6562, allocations: 34.56 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.6562, allocations: 0 / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001218/0.6574, allocations: 353.4 kB / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.6574, allocations: 55.41 kB / 1.026 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.6577, allocations: 234.7 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.6577, allocations: 25.7 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.6578, allocations: 140 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.6579, allocations: 39.45 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.6579, allocations: 33.7 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6581, allocations: 330.8 kB / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.6584, allocations: 99.84 kB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.6588, allocations: 96.34 kB / 1.027 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.6595, allocations: 204.8 kB / 1.027 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6595, allocations: 0 / 1.027 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007458/0.6602, allocations: 249.2 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6602, allocations: 11.98 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6603, allocations: 0 / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6603, allocations: 0 / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.6606, allocations: 47.89 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.6606, allocations: 3.938 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.6609, allocations: 31.95 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.6609, allocations: 0 / 1.028 GB, free: 6.883 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.0001187/0.661, allocations: 134.3 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.6611, allocations: 23.72 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008553/0.6619, allocations: 283 kB / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.662, allocations: 0 / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.662, allocations: 11.92 kB / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.662, allocations: 0 / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.6623, allocations: 273.4 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.6623, allocations: 4 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.6626, allocations: 47.94 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6626, allocations: 0 / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.6626, allocations: 11.98 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6626, allocations: 0 / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6626, allocations: 3.938 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.6635, allocations: 355 kB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.6636, allocations: 108.9 kB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.6636, allocations: 8 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.6639, allocations: 19.97 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.664, allocations: 27.91 kB / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.664, allocations: 0 / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001391/0.6641, allocations: 170 kB / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6641, allocations: 0 / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003555/0.6645, allocations: 63.83 kB / 1.029 GB, free: 5.266 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.0002458/0.6648, allocations: 131.2 kB / 1.029 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008048/0.6656, allocations: 219.7 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6656, allocations: 0 / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.666, allocations: 115.9 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.6665, allocations: 29.3 kB / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.6674, allocations: 484.1 kB / 1.03 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.6677, allocations: 0.7316 MB / 1.031 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.6679, allocations: 40.83 kB / 1.031 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.668, allocations: 19.42 kB / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of SimCode: time 7.193e-06/0.668, allocations: 0 / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.006064/0.6741, allocations: 2.408 MB / 1.033 GB, free: 1.078 MB / 0.7794 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