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.0008351/0.0008349, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009707/0.0009712, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 443.2 MB / 0.7181 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003599, allocations: 12.38 kB / 0.8801 GB, free: 42.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3291, allocations: 155.2 MB / 1.032 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002633/0.3318, allocations: 1.847 MB / 1.033 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005216/0.3371, allocations: 3.729 MB / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.3373, allocations: 0 / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.3377, allocations: 51.69 kB / 1.037 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.3382, allocations: 111.3 kB / 1.037 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.3386, allocations: 123.7 kB / 1.037 GB, free: 14.84 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.3391, allocations: 290.9 kB / 1.038 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3392, allocations: 56.66 kB / 1.038 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.3395, allocations: 119.5 kB / 1.038 GB, free: 14.38 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.3398, allocations: 139.3 kB / 1.038 GB, free: 14.25 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.3398, allocations: 12 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.3401, allocations: 115.8 kB / 1.038 GB, free: 14.12 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.3402, allocations: 47.77 kB / 1.038 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3404, allocations: 133 kB / 1.038 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.3407, allocations: 223.5 kB / 1.038 GB, free: 13.72 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3407, allocations: 0 / 1.038 GB, free: 13.72 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3407, allocations: 0 / 1.038 GB, free: 13.72 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3407, allocations: 0 / 1.038 GB, free: 13.72 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.001223/0.342, allocations: 0.6232 MB / 1.039 GB, free: 13.05 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.342, allocations: 12.03 kB / 1.039 GB, free: 13.04 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009661/0.343, allocations: 160.4 kB / 1.039 GB, free: 12.88 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.3438, allocations: 336.3 kB / 1.04 GB, free: 12.51 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3438, allocations: 8.562 kB / 1.04 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.3438, allocations: 15.94 kB / 1.04 GB, free: 12.49 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.3446, allocations: 257.4 kB / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3446, allocations: 0 / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3446, allocations: 0 / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3446, allocations: 4 kB / 1.04 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3457, allocations: 343.7 kB / 1.04 GB, free: 11.89 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.3471, allocations: 0.6018 MB / 1.041 GB, free: 11.24 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.3477, allocations: 202.4 kB / 1.041 GB, free: 11.03 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.3482, allocations: 180.7 kB / 1.041 GB, free: 10.85 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009362/0.3492, allocations: 0.5728 MB / 1.042 GB, free: 10.17 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3492, allocations: 38.55 kB / 1.042 GB, free: 10.12 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.3492, allocations: 0 / 1.042 GB, free: 10.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.001897/0.3511, allocations: 0.5636 MB / 1.042 GB, free: 9.551 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3512, allocations: 55.41 kB / 1.042 GB, free: 9.484 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3515, allocations: 268.6 kB / 1.043 GB, free: 9.211 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.3515, allocations: 29.7 kB / 1.043 GB, free: 9.176 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3516, allocations: 144 kB / 1.043 GB, free: 9.031 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.3517, allocations: 47.3 kB / 1.043 GB, free: 8.984 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.3518, allocations: 21.72 kB / 1.043 GB, free: 8.957 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3519, allocations: 342.7 kB / 1.043 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.3525, allocations: 175.9 kB / 1.043 GB, free: 8.441 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.3531, allocations: 175.9 kB / 1.043 GB, free: 8.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.3542, allocations: 350.5 kB / 1.044 GB, free: 7.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3542, allocations: 0 / 1.044 GB, free: 7.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001282/0.3555, allocations: 430.7 kB / 1.044 GB, free: 7.5 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3555, allocations: 12 kB / 1.044 GB, free: 7.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3555, allocations: 3.938 kB / 1.044 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3555, allocations: 0 / 1.044 GB, free: 7.484 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.356, allocations: 83.91 kB / 1.044 GB, free: 7.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.356, allocations: 0 / 1.044 GB, free: 7.402 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.3564, allocations: 59.8 kB / 1.044 GB, free: 7.344 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.3564, allocations: 11.98 kB / 1.044 GB, free: 7.332 MB / 0.795 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.0001717/0.3566, allocations: 133.7 kB / 1.044 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.3567, allocations: 23.72 kB / 1.044 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.358, allocations: 435.3 kB / 1.045 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.358, allocations: 4 kB / 1.045 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.358, allocations: 0 / 1.045 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.358, allocations: 7.938 kB / 1.045 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.3584, allocations: 305.3 kB / 1.045 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3584, allocations: 3.938 kB / 1.045 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.3588, allocations: 75.92 kB / 1.045 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3588, allocations: 0 / 1.045 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.3589, allocations: 11.98 kB / 1.045 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3589, allocations: 0 / 1.045 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3589, allocations: 4 kB / 1.045 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.3601, allocations: 0.498 MB / 1.046 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3603, allocations: 116.7 kB / 1.046 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3603, allocations: 8 kB / 1.046 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.3607, allocations: 55.88 kB / 1.046 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.3608, allocations: 15.98 kB / 1.046 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3608, allocations: 7.922 kB / 1.046 GB, free: 5.555 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001803/0.361, allocations: 191.1 kB / 1.046 GB, free: 5.367 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.361, allocations: 0 / 1.046 GB, free: 5.367 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003607/0.3613, allocations: 75.92 kB / 1.046 GB, free: 5.293 MB / 0.795 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.0002338/0.3616, allocations: 127.2 kB / 1.046 GB, free: 5.156 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.3628, allocations: 379.7 kB / 1.047 GB, free: 4.785 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3628, allocations: 0 / 1.047 GB, free: 4.785 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.3634, allocations: 203.8 kB / 1.047 GB, free: 4.586 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.3639, allocations: 28.64 kB / 1.047 GB, free: 4.559 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.365, allocations: 0.6268 MB / 1.048 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3653, allocations: 0.7477 MB / 1.048 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3655, allocations: 27.34 kB / 1.048 GB, free: 3.098 MB / 0.795 GB Notification: Performance of SimCode: time 7.92e-07/0.3655, allocations: 0 / 1.048 GB, free: 3.098 MB / 0.795 GB Notification: Performance of Templates: time 0.005935/0.3714, allocations: 3.688 MB / 1.052 GB, free: 15.43 MB / 0.8106 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 -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