Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001887/0.001887, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002342/0.002342, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.869/2.869, allocations: 469.8 MB / 0.742 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 72.61 kB / 0.908 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3003, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003568/0.3039, allocations: 2.193 MB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004792/0.3087, allocations: 3.751 MB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.3089, allocations: 0 / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.3091, allocations: 59.61 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.3095, allocations: 107.3 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.3099, allocations: 127.7 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.3103, allocations: 318.9 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3105, allocations: 56.7 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.3107, allocations: 135.5 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.311, allocations: 143.4 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.311, allocations: 24 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.3113, allocations: 131.8 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.3114, allocations: 63.73 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3115, allocations: 119.3 kB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.3119, allocations: 330.9 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3119, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3119, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3119, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 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.001319/0.3133, allocations: 0.6399 MB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3133, allocations: 8.031 kB / 1.071 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.3143, allocations: 180.3 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/0.315, allocations: 324.3 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3151, allocations: 4.562 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.3151, allocations: 19.94 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006978/0.3158, allocations: 223.5 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3158, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.3159, allocations: 4 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3159, allocations: 8 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.3169, allocations: 279.7 kB / 1.072 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3182, allocations: 0.5668 MB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.3188, allocations: 170.4 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.3193, allocations: 152.7 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009398/0.3202, allocations: 0.5532 MB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3203, allocations: 42.5 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.3203, allocations: 0 / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.001704/0.322, allocations: 486.6 kB / 1.074 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.3221, allocations: 55.41 kB / 1.074 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.3223, allocations: 272.4 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.3224, allocations: 25.7 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3225, allocations: 148 kB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.3226, allocations: 43.3 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.3227, allocations: 41.69 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3228, allocations: 338.8 kB / 1.075 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.3234, allocations: 151.9 kB / 1.075 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.3239, allocations: 151.9 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009942/0.3249, allocations: 286.1 kB / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3249, allocations: 0 / 1.076 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001179/0.3261, allocations: 373 kB / 1.076 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3261, allocations: 9.875 kB / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3261, allocations: 0 / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3261, allocations: 0 / 1.076 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.3266, allocations: 63.92 kB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3266, allocations: 3.938 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.327, allocations: 51.78 kB / 1.076 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.327, allocations: 8 kB / 1.076 GB, free: 1.113 MB / 0.8262 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.0001495/0.3272, allocations: 129.8 kB / 1.076 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.3272, allocations: 23.72 kB / 1.076 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.3284, allocations: 375.3 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3285, allocations: 4 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3285, allocations: 0 / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3285, allocations: 7.875 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.3289, allocations: 313.3 kB / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3289, allocations: 0 / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.3293, allocations: 59.92 kB / 1.077 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3293, allocations: 0 / 1.077 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.3293, allocations: 15.92 kB / 1.077 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3293, allocations: 0 / 1.077 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3293, allocations: 3.984 kB / 1.077 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.3305, allocations: 447.9 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3307, allocations: 120.7 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.3307, allocations: 12 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.3311, allocations: 31.95 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.3312, allocations: 15.97 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3312, allocations: 11.94 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001818/0.3314, allocations: 187.1 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3314, allocations: 0 / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003497/0.3318, allocations: 75.92 kB / 1.078 GB, free: 15.21 MB / 0.8419 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.0002321/0.332, allocations: 127.2 kB / 1.078 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.3332, allocations: 336.4 kB / 1.078 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3332, allocations: 0 / 1.078 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.3337, allocations: 167.8 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.3342, allocations: 29.14 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3353, allocations: 0.5524 MB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3357, allocations: 0.7513 MB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002587/0.336, allocations: 53.36 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3361, allocations: 19.42 kB / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3361, allocations: 0 / 1.08 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.006825/0.3429, allocations: 3.037 MB / 1.083 GB, free: 10.13 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches