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.001348/0.001352, 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.001576/0.001577, allocations: 195.1 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.337/2.337, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6113/0.6125, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002655/0.6152, allocations: 2.054 MB / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.6187, allocations: 3.675 MB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.6188, allocations: 2.688 kB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.6191, allocations: 45 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.6194, allocations: 105.3 kB / 0.9547 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.6197, allocations: 107.9 kB / 0.9548 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.62, allocations: 244.2 kB / 0.955 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.6201, allocations: 49.5 kB / 0.9551 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.6203, allocations: 103.9 kB / 0.9551 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.6204, allocations: 112.3 kB / 0.9553 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.6205, allocations: 8.875 kB / 0.9553 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.6207, allocations: 106.2 kB / 0.9554 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.6208, allocations: 43.02 kB / 0.9554 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.875e-05/0.6209, allocations: 93.23 kB / 0.9555 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.6212, allocations: 266.4 kB / 0.9558 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6212, allocations: 0 / 0.9558 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6212, allocations: 1.281 kB / 0.9558 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6212, allocations: 0 / 0.9558 GB, free: 3.715 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.001054/0.6223, allocations: 0.5861 MB / 0.9563 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6223, allocations: 9.281 kB / 0.9563 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.6224, allocations: 26.16 kB / 0.9564 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.6227, allocations: 265.9 kB / 0.9566 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.6227, allocations: 12.19 kB / 0.9566 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.6228, allocations: 7.531 kB / 0.9566 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.6232, allocations: 171.8 kB / 0.9568 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6233, allocations: 0 / 0.9568 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.6233, allocations: 0.9062 kB / 0.9568 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.6233, allocations: 6.188 kB / 0.9568 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.6239, allocations: 193.8 kB / 0.957 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.6247, allocations: 493.8 kB / 0.9575 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.6252, allocations: 124.7 kB / 0.9576 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.6255, allocations: 109.9 kB / 0.9577 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/0.6263, allocations: 0.5437 MB / 0.9582 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.6263, allocations: 40.14 kB / 0.9582 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.6263, allocations: 0 / 0.9582 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001121/0.6274, allocations: 353.1 kB / 0.9586 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.6275, allocations: 58.16 kB / 0.9586 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.6277, allocations: 238.2 kB / 0.9589 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.6277, allocations: 27.08 kB / 0.9589 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.6278, allocations: 141.6 kB / 0.959 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.6278, allocations: 39.56 kB / 0.9591 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.6279, allocations: 25.95 kB / 0.9591 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.6279, allocations: 336.3 kB / 0.9594 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.6283, allocations: 95.5 kB / 0.9595 GB, free: 488 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.6286, allocations: 96.19 kB / 0.9596 GB, free: 444 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.6293, allocations: 198.2 kB / 0.9598 GB, free: 348 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6293, allocations: 0 / 0.9598 GB, free: 348 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0009378/0.6303, allocations: 264.8 kB / 0.96 GB, free: 200 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.6303, allocations: 8.375 kB / 0.96 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6303, allocations: 1.031 kB / 0.96 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.6303, allocations: 0 / 0.96 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.6307, allocations: 53.28 kB / 0.9601 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.6307, allocations: 5.031 kB / 0.9601 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.6309, allocations: 22.81 kB / 0.9601 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.6309, allocations: 7.391 kB / 0.9601 GB, free: 156 kB / 0.7169 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 9.125e-05/0.631, allocations: 125.7 kB / 0.9603 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.6311, allocations: 21.72 kB / 0.9603 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/0.632, allocations: 287.5 kB / 0.9605 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.632, allocations: 1.281 kB / 0.9605 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.632, allocations: 7.938 kB / 0.9606 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.632, allocations: 1.312 kB / 0.9606 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.6323, allocations: 273.2 kB / 0.9608 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6323, allocations: 3.984 kB / 0.9608 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.6326, allocations: 45.23 kB / 0.9609 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6326, allocations: 0.75 kB / 0.9609 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.6327, allocations: 5.484 kB / 0.9609 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6327, allocations: 0.75 kB / 0.9609 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6327, allocations: 7.938 kB / 0.9609 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.6335, allocations: 356.8 kB / 0.9612 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.6336, allocations: 113.6 kB / 0.9613 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.6336, allocations: 0.9375 kB / 0.9613 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.6339, allocations: 22.34 kB / 0.9613 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.634, allocations: 21.75 kB / 0.9614 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.634, allocations: 6.141 kB / 0.9614 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001419/0.6341, allocations: 169 kB / 0.9615 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6341, allocations: 0 / 0.9615 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003384/0.6345, allocations: 60.19 kB / 0.9616 GB, free: 15.01 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.0002107/0.6347, allocations: 137.6 kB / 0.9617 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000769/0.6355, allocations: 214.8 kB / 0.9619 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6355, allocations: 0 / 0.9619 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.6359, allocations: 119.2 kB / 0.962 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.6363, allocations: 30.45 kB / 0.9621 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.6372, allocations: 478.9 kB / 0.9625 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.6375, allocations: 0.7398 MB / 0.9633 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.6377, allocations: 38.11 kB / 0.9633 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.6378, allocations: 21.95 kB / 0.9633 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.6378, allocations: 4 kB / 0.9633 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of Templates: time 0.005365/0.6431, allocations: 2.387 MB / 0.9656 GB, free: 12.43 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