Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001413/0.001413, allocations: 107.1 kB / 16.37 MB, free: 6.477 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.00135/0.00135, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.466/2.466, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 61.34 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3266, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003608/0.3302, allocations: 2.156 MB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.3348, allocations: 3.778 MB / 1.033 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.3349, allocations: 4 kB / 1.033 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3353, allocations: 63.38 kB / 1.033 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.3357, allocations: 131.1 kB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.336, allocations: 151.6 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.3364, allocations: 314.8 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3366, allocations: 56.72 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.3368, allocations: 135.5 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.337, allocations: 143.4 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.337, allocations: 20 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.3373, allocations: 131.8 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.3374, allocations: 59.75 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.3375, allocations: 123.3 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.3379, allocations: 338.8 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3379, allocations: 4 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3379, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3379, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 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.00125/0.3392, allocations: 0.6347 MB / 1.035 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3392, allocations: 8.031 kB / 1.035 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008774/0.3401, allocations: 172.3 kB / 1.035 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.3408, allocations: 328.2 kB / 1.035 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3409, allocations: 8.562 kB / 1.035 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.3409, allocations: 15.94 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.3416, allocations: 217.5 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3416, allocations: 3.984 kB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.3416, allocations: 4 kB / 1.035 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3416, allocations: 0 / 1.035 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.3425, allocations: 284.7 kB / 1.036 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3438, allocations: 0.5668 MB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.3443, allocations: 174.4 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.3448, allocations: 152.7 kB / 1.037 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008693/0.3457, allocations: 0.5532 MB / 1.037 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.3457, allocations: 38.55 kB / 1.037 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 3.267e-06/0.3457, allocations: 0 / 1.037 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.001551/0.3473, allocations: 485.2 kB / 1.038 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3473, allocations: 59.34 kB / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3476, allocations: 268.4 kB / 1.038 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3476, allocations: 33.7 kB / 1.038 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.953e-05/0.3477, allocations: 144 kB / 1.038 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.3478, allocations: 43.39 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.3479, allocations: 45.59 kB / 1.038 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.348, allocations: 342.8 kB / 1.039 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.3485, allocations: 147.8 kB / 1.039 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.349, allocations: 147.9 kB / 1.039 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.3499, allocations: 286.8 kB / 1.039 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3499, allocations: 0 / 1.039 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001029/0.3509, allocations: 375.3 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.351, allocations: 11.98 kB / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.351, allocations: 0 / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.351, allocations: 0 / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.3514, allocations: 67.92 kB / 1.04 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3514, allocations: 0 / 1.04 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.3518, allocations: 43.8 kB / 1.04 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.3518, allocations: 11.98 kB / 1.04 GB, free: 4.527 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.0001272/0.3519, allocations: 137.7 kB / 1.04 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.352, allocations: 23.72 kB / 1.04 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.3531, allocations: 375.3 kB / 1.04 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3531, allocations: 0 / 1.04 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3531, allocations: 4 kB / 1.04 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.3531, allocations: 3.938 kB / 1.04 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.3535, allocations: 309.3 kB / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3535, allocations: 0 / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.3539, allocations: 67.86 kB / 1.04 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3539, allocations: 0 / 1.04 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.3539, allocations: 7.984 kB / 1.04 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.354, allocations: 0 / 1.04 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.354, allocations: 3.938 kB / 1.04 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.355, allocations: 449.7 kB / 1.041 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.3552, allocations: 124.7 kB / 1.041 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.3552, allocations: 4 kB / 1.041 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.3555, allocations: 35.95 kB / 1.041 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.3556, allocations: 15.97 kB / 1.041 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3557, allocations: 7.938 kB / 1.041 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001723/0.3558, allocations: 191.1 kB / 1.041 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3558, allocations: 0 / 1.041 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003525/0.3562, allocations: 71.92 kB / 1.041 GB, free: 2.637 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.0002483/0.3565, allocations: 135.2 kB / 1.041 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.3575, allocations: 315.7 kB / 1.042 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3575, allocations: 0 / 1.042 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.358, allocations: 167.8 kB / 1.042 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3584, allocations: 28.58 kB / 1.042 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3595, allocations: 0.4976 MB / 1.042 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3598, allocations: 0.7513 MB / 1.043 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000203/0.3601, allocations: 49.38 kB / 1.043 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3602, allocations: 23.41 kB / 1.043 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3602, allocations: 0 / 1.043 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of Templates: time 0.006685/0.3669, allocations: 3.297 MB / 1.046 GB, free: 13.36 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches