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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001649/0.001649, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 59.91 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.7653, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003212/0.7685, allocations: 2.072 MB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.7729, allocations: 3.66 MB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.7731, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.7734, allocations: 59.67 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.7737, allocations: 95.34 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.774, allocations: 107.8 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.7743, allocations: 239.1 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.7744, allocations: 56.17 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.7746, allocations: 99.61 kB / 1.024 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.7748, allocations: 119.4 kB / 1.024 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.7748, allocations: 12 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.7751, allocations: 107.8 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.7751, allocations: 39.83 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.7752, allocations: 95.39 kB / 1.024 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.7755, allocations: 179.7 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7755, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7755, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7755, allocations: 0 / 1.024 GB, free: 11.85 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.001139/0.7766, allocations: 0.5879 MB / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7767, allocations: 8.031 kB / 1.025 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.7767, allocations: 24.66 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.7772, allocations: 279.5 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.7772, allocations: 384 / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.7772, allocations: 16.38 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.7777, allocations: 169.6 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.7778, allocations: 0 / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.7778, allocations: 4 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.7778, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.7785, allocations: 198 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009039/0.7794, allocations: 488.3 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.7798, allocations: 126.5 kB / 1.026 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.7801, allocations: 112.7 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/0.781, allocations: 0.5532 MB / 1.027 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.781, allocations: 30.56 kB / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.781, allocations: 0 / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001135/0.7822, allocations: 349.4 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.7822, allocations: 51.41 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.7825, allocations: 246.7 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.7825, allocations: 29.7 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.7826, allocations: 136 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.7826, allocations: 35.45 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.7827, allocations: 25.7 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.7829, allocations: 338.8 kB / 1.028 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.7832, allocations: 99.84 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.7835, allocations: 95.91 kB / 1.028 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006205/0.7841, allocations: 197.3 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7842, allocations: 0 / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007276/0.7849, allocations: 265.1 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.7849, allocations: 5.562 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7849, allocations: 3.938 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.7849, allocations: 0 / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.7853, allocations: 51.88 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7853, allocations: 7.938 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.7855, allocations: 23.97 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.7855, allocations: 3.984 kB / 1.028 GB, free: 7.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.0001289/0.7857, allocations: 126.4 kB / 1.029 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/0.7857, allocations: 23.72 kB / 1.029 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008418/0.7866, allocations: 283 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7866, allocations: 0 / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7866, allocations: 3.938 kB / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7866, allocations: 7.984 kB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.7869, allocations: 281.4 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.7869, allocations: 3.984 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.7872, allocations: 43.95 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.7872, allocations: 0 / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.7873, allocations: 3.984 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.7873, allocations: 4 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7873, allocations: 3.938 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.7881, allocations: 359 kB / 1.03 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.7882, allocations: 112.9 kB / 1.03 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.7882, allocations: 4 kB / 1.03 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.7885, allocations: 23.97 kB / 1.03 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.7885, allocations: 15.91 kB / 1.03 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.7886, allocations: 11.98 kB / 1.03 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000141/0.7887, allocations: 166 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7887, allocations: 0 / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003315/0.789, allocations: 59.84 kB / 1.03 GB, free: 5.418 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.0002202/0.7893, allocations: 139.2 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007394/0.79, allocations: 219.7 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.79, allocations: 0 / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.7904, allocations: 115.9 kB / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.7908, allocations: 25.3 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.7917, allocations: 0.4955 MB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.792, allocations: 0.7355 MB / 1.032 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.7921, allocations: 31.34 kB / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7921, allocations: 0 / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of Templates: time 0.004891/0.797, allocations: 2.967 MB / 1.034 GB, free: 0.6562 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/jenkins1/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