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.001137/0.001137, allocations: 111.9 kB / 15.61 MB, free: 128 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.001155/0.001155, allocations: 196.5 kB / 16.54 MB, free: 6.668 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.606/2.606, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7016, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003129/0.7048, allocations: 2.015 MB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004055/0.7089, allocations: 3.687 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.14e-05/0.709, allocations: 4 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.7093, allocations: 63.55 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.7096, allocations: 107.3 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.7099, allocations: 123.6 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.7102, allocations: 251.1 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.7103, allocations: 52.23 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.7106, allocations: 115.5 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.7107, allocations: 115.5 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.7108, allocations: 16 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.711, allocations: 119.8 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.711, allocations: 47.78 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.7111, allocations: 95.45 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.7115, allocations: 283 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7115, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7115, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7115, allocations: 0 / 1.024 GB, free: 11.4 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.001073/0.7126, allocations: 0.5801 MB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7126, allocations: 8.031 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.7127, allocations: 28.59 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.7131, allocations: 275.6 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.7131, allocations: 4.375 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.7131, allocations: 12.31 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.7136, allocations: 175 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7136, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.7136, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7137, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.7143, allocations: 195.8 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/0.7151, allocations: 484.4 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.7155, allocations: 122.5 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.7159, allocations: 112.8 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008184/0.7167, allocations: 0.5493 MB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.7167, allocations: 30.56 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.7167, allocations: 4 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001169/0.7179, allocations: 353.2 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.718, allocations: 55.41 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.7182, allocations: 238.7 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.7182, allocations: 29.7 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.7183, allocations: 140 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.7184, allocations: 39.45 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.7184, allocations: 29.69 kB / 1.028 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7185, allocations: 334.8 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.7189, allocations: 91.91 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.7192, allocations: 99.91 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.7199, allocations: 201.2 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7199, allocations: 4 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000746/0.7206, allocations: 257.2 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7206, allocations: 4 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7207, allocations: 4 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7207, allocations: 4 kB / 1.028 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.721, allocations: 43.94 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.721, allocations: 3.938 kB / 1.029 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.7212, allocations: 23.97 kB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.7213, allocations: 3.984 kB / 1.029 GB, free: 6.586 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.0001011/0.7214, allocations: 133.8 kB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.7214, allocations: 27.66 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/0.7222, allocations: 283.1 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7223, allocations: 0 / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7223, allocations: 7.938 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.7223, allocations: 0 / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.7226, allocations: 281.4 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7226, allocations: 0 / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.7229, allocations: 43.89 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7229, allocations: 7.984 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.7229, allocations: 4 kB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7229, allocations: 0 / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.7229, allocations: 3.938 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.7238, allocations: 351.1 kB / 1.03 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.7239, allocations: 116.8 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.7239, allocations: 0 / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.7242, allocations: 27.95 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.7243, allocations: 19.92 kB / 1.03 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.7243, allocations: 7.984 kB / 1.03 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001246/0.7244, allocations: 170 kB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7244, allocations: 0 / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003125/0.7247, allocations: 63.84 kB / 1.03 GB, free: 4.969 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.0001933/0.7249, allocations: 135.1 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007573/0.7257, allocations: 227.7 kB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7257, allocations: 0 / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.7261, allocations: 115.9 kB / 1.03 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.7265, allocations: 33.66 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.7273, allocations: 426.3 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.7276, allocations: 0.7314 MB / 1.032 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001687/0.7277, allocations: 36.84 kB / 1.032 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.7278, allocations: 23.42 kB / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.7278, allocations: 0 / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of Templates: time 0.005689/0.7335, allocations: 2.699 MB / 1.034 GB, free: 0.5312 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