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.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.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.008405/0.008406, allocations: 97.97 kB / 15.88 MB, free: 6.316 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.00175/0.00175, allocations: 194.8 kB / 16.79 MB, free: 6.242 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.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.614/2.614, allocations: 437 MB / 0.7106 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.89 kB / 0.8692 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7178, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00393/0.7218, allocations: 2.186 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.005211/0.727, allocations: 3.765 MB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.7273, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.7276, allocations: 51.67 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.7281, allocations: 111.2 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.7286, allocations: 139.7 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.729, allocations: 298.8 kB / 1.024 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.7292, allocations: 60.64 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.7295, allocations: 115.5 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.7298, allocations: 139.4 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.7298, allocations: 12 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.7301, allocations: 123.8 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/0.7302, allocations: 59.73 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.7304, allocations: 107.3 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.7307, allocations: 231.5 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7308, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7308, allocations: 3.938 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.7308, 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001421/0.7322, allocations: 0.6269 MB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7323, allocations: 8.031 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009669/0.7332, allocations: 164.5 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.734, allocations: 332.2 kB / 1.026 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.7341, allocations: 8.562 kB / 1.026 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.7341, allocations: 11.94 kB / 1.026 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.7348, allocations: 229.4 kB / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.7349, allocations: 0 / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.7349, allocations: 0 / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.7349, allocations: 4 kB / 1.026 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.7359, allocations: 283.6 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.7373, allocations: 0.5746 MB / 1.027 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.7378, allocations: 170.4 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/0.7384, allocations: 156.7 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008759/0.7392, allocations: 0.5493 MB / 1.028 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.7393, allocations: 38.56 kB / 1.028 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.7393, allocations: 0 / 1.028 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.001648/0.741, allocations: 489.2 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.741, allocations: 55.41 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.7413, allocations: 264.6 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.7413, allocations: 33.7 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.7414, allocations: 151.9 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.7415, allocations: 39.45 kB / 1.029 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/0.7416, allocations: 37.69 kB / 1.029 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7417, allocations: 342.8 kB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.7422, allocations: 147.8 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.7427, allocations: 150 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009535/0.7437, allocations: 293.5 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7437, allocations: 0 / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001089/0.7448, allocations: 367.3 kB / 1.03 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7448, allocations: 8 kB / 1.03 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7449, allocations: 0 / 1.03 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7449, allocations: 0 / 1.03 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.7453, allocations: 75.91 kB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7453, allocations: 0 / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.7457, allocations: 47.67 kB / 1.03 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.7457, allocations: 7.984 kB / 1.03 GB, free: 5.484 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 (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.0001371/0.7459, allocations: 138.3 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.7459, allocations: 23.72 kB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.7471, allocations: 382.8 kB / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7471, allocations: 0 / 1.03 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.7471, allocations: 8 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7472, allocations: 3.938 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.7475, allocations: 305.3 kB / 1.031 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7475, allocations: 0 / 1.031 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.7479, allocations: 59.86 kB / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7479, allocations: 0 / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.748, allocations: 11.98 kB / 1.031 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.748, allocations: 7.984 kB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.748, allocations: 0 / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.7491, allocations: 442.9 kB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.7492, allocations: 120.7 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.7493, allocations: 4 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.7496, allocations: 39.94 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.7497, allocations: 11.98 kB / 1.031 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.7497, allocations: 19.92 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001637/0.7499, allocations: 187.1 kB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7499, allocations: 0 / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003772/0.7503, allocations: 67.98 kB / 1.032 GB, free: 3.594 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 (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.000239/0.7505, allocations: 135.1 kB / 1.032 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.7517, allocations: 323.7 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7517, allocations: 4 kB / 1.032 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.7522, allocations: 163.8 kB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.7527, allocations: 34.47 kB / 1.032 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.7538, allocations: 0.5832 MB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.7542, allocations: 0.7477 MB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.7544, allocations: 27.41 kB / 1.034 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.7544, allocations: 4 kB / 1.034 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.006687/0.7611, allocations: 3.718 MB / 1.037 GB, free: 13.82 MB / 0.795 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=480 -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