Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,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.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,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.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.001583/0.001583, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.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.563/2.563, allocations: 437.1 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 70.33 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.335, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003485/0.3385, allocations: 2.144 MB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004888/0.3434, allocations: 3.787 MB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.3436, allocations: 0 / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.3439, allocations: 67.42 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.3443, allocations: 127.1 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.3447, allocations: 147.6 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.3451, allocations: 322.8 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3452, allocations: 52.7 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.3455, allocations: 143.4 kB / 1.025 GB, free: 3.805 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.3457, allocations: 139.4 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.3457, allocations: 20 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.346, allocations: 135.8 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.3461, allocations: 59.75 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.3462, allocations: 119.3 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.3467, allocations: 334.9 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3467, allocations: 0 / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3467, allocations: 4 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3467, allocations: 0 / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001295/0.348, allocations: 0.6346 MB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.348, allocations: 8.922 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/0.349, allocations: 164.5 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007415/0.3498, allocations: 328.2 kB / 1.026 GB, free: 1.793 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3498, allocations: 8.562 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.3499, allocations: 19.88 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.3506, allocations: 221.5 kB / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3506, allocations: 0 / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.3506, allocations: 8 kB / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3506, allocations: 0 / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3517, allocations: 275.7 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.353, allocations: 0.5784 MB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.3536, allocations: 170.4 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.3541, allocations: 156.7 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.3552, allocations: 0.5571 MB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.3552, allocations: 34.56 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.3552, allocations: 3.938 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.001785/0.357, allocations: 482.5 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3571, allocations: 59.41 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3574, allocations: 264.5 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.3574, allocations: 29.7 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3575, allocations: 151.9 kB / 1.029 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.3576, allocations: 43.39 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.3577, allocations: 37.69 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3579, allocations: 342.8 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.3584, allocations: 151.8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.359, allocations: 146.4 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.3601, allocations: 292.6 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3601, allocations: 0 / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001188/0.3613, allocations: 375.4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3613, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3613, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3613, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.3618, allocations: 71.86 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3618, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.3622, allocations: 47.78 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.3622, allocations: 8 kB / 1.031 GB, free: 13.08 MB / 0.8106 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 (17): * Single equations (assignments): 17 * 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.0001458/0.3623, allocations: 126.5 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.3624, allocations: 27.72 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.3638, allocations: 377 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.3638, allocations: 4 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3638, allocations: 0 / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3638, allocations: 7.922 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.3642, allocations: 317.2 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3642, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.3646, allocations: 59.92 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3646, allocations: 0 / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3646, allocations: 7.984 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3646, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3646, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.3659, allocations: 454.9 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.366, allocations: 124.7 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.3661, allocations: 0 / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.3664, allocations: 35.95 kB / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.3665, allocations: 19.97 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3665, allocations: 7.938 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001904/0.3667, allocations: 195 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3667, allocations: 0 / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003648/0.3671, allocations: 63.94 kB / 1.033 GB, free: 11.19 MB / 0.8106 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 (13): * Single equations (assignments): 13 * 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.000262/0.3674, allocations: 131.2 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.3686, allocations: 335.6 kB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3686, allocations: 0 / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.3692, allocations: 166.2 kB / 1.033 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.3697, allocations: 34.52 kB / 1.033 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3709, allocations: 0.5228 MB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.3713, allocations: 0.7512 MB / 1.034 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3715, allocations: 31.41 kB / 1.034 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3715, allocations: 0 / 1.034 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of Templates: time 0.006567/0.378, allocations: 3.725 MB / 1.038 GB, free: 5.473 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches