Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001218, allocations: 186.1 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009146/0.0009147, allocations: 96.34 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 8.969 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2749, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.901/6.176, allocations: 2.19 GB / 3.09 GB, free: 31.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/6.176, allocations: 95.94 kB / 3.09 GB, free: 31.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7623/6.938, allocations: 58.45 MB / 3.147 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.855e-06/6.939, allocations: 7.469 kB / 3.147 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002145/6.939, allocations: 27.66 kB / 3.147 GB, free: 311.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003992/6.943, allocations: 1.144 MB / 3.148 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/6.943, allocations: 9.438 kB / 3.148 GB, free: 310.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/6.944, allocations: 182.9 kB / 3.149 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/6.946, allocations: 0.6113 MB / 3.149 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/6.946, allocations: 54.56 kB / 3.149 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/6.946, allocations: 72.72 kB / 3.149 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/6.948, allocations: 0.8282 MB / 3.15 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/6.948, allocations: 0 / 3.15 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/6.948, allocations: 44.5 kB / 3.15 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/6.948, allocations: 22.19 kB / 3.15 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/6.95, allocations: 1.049 MB / 3.151 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/6.954, allocations: 2.359 MB / 3.154 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/6.955, allocations: 0.724 MB / 3.154 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-05/6.956, allocations: 32.31 kB / 3.154 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006564/6.956, allocations: 421.3 kB / 3.155 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 3.587e-06/6.956, allocations: 0 / 3.155 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.002747/6.959, allocations: 1.081 MB / 3.156 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/6.959, allocations: 240.7 kB / 3.156 GB, free: 309 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/6.96, allocations: 0.5749 MB / 3.157 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/6.96, allocations: 39.08 kB / 3.157 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/6.96, allocations: 367 kB / 3.157 GB, free: 308.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/6.96, allocations: 231.8 kB / 3.157 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/6.96, allocations: 13.75 kB / 3.157 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001125/6.961, allocations: 385.7 kB / 3.158 GB, free: 308.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/6.961, allocations: 215.9 kB / 3.158 GB, free: 308.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/6.961, allocations: 320.7 kB / 3.158 GB, free: 308.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/6.962, allocations: 257.6 kB / 3.158 GB, free: 308.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/6.962, allocations: 7.312 kB / 3.158 GB, free: 308.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001504/6.963, allocations: 0.7168 MB / 3.159 GB, free: 308 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/6.963, allocations: 5.094 kB / 3.159 GB, free: 308 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/6.963, allocations: 3.938 kB / 3.159 GB, free: 308 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/6.964, allocations: 84.53 kB / 3.159 GB, free: 308 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/6.965, allocations: 131.5 kB / 3.159 GB, free: 308 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/6.966, allocations: 1.535 MB / 3.161 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/6.967, allocations: 75.97 kB / 3.161 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/6.967, allocations: 25.06 kB / 3.161 GB, free: 306.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005262/6.968, allocations: 257.7 kB / 3.161 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/6.968, allocations: 73.38 kB / 3.161 GB, free: 306.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/6.97, allocations: 0.9838 MB / 3.162 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/6.97, allocations: 7.938 kB / 3.162 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/6.97, allocations: 0 / 3.162 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/6.97, allocations: 3.75 kB / 3.162 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/6.971, allocations: 0.8431 MB / 3.163 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/6.971, allocations: 0 / 3.163 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/6.972, allocations: 145.6 kB / 3.163 GB, free: 306.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/6.972, allocations: 83.19 kB / 3.163 GB, free: 306.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/6.972, allocations: 24.31 kB / 3.163 GB, free: 306.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/6.974, allocations: 1.56 MB / 3.165 GB, free: 304.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/6.974, allocations: 0 / 3.165 GB, free: 304.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/6.975, allocations: 0.8347 MB / 3.166 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/6.976, allocations: 277.6 kB / 3.166 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/6.976, allocations: 15.97 kB / 3.166 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/6.976, allocations: 67.61 kB / 3.166 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/6.977, allocations: 59.25 kB / 3.166 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/6.977, allocations: 30.64 kB / 3.166 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006286/6.977, allocations: 471.8 kB / 3.166 GB, free: 304.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.51e-07/6.977, allocations: 0 / 3.166 GB, free: 304.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001168/6.978, allocations: 321 kB / 3.167 GB, free: 304.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002351/6.981, allocations: 1.028 MB / 3.168 GB, free: 304 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00154/6.982, allocations: 0.7137 MB / 3.168 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/6.982, allocations: 3.656 kB / 3.168 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008042/6.983, allocations: 485.7 kB / 3.169 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/6.984, allocations: 238 kB / 3.169 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/6.988, allocations: 2.021 MB / 3.171 GB, free: 302.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/6.989, allocations: 1.006 MB / 3.172 GB, free: 302.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008558/6.99, allocations: 256.2 kB / 3.172 GB, free: 302 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/6.99, allocations: 99.27 kB / 3.172 GB, free: 302 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/6.99, allocations: 0 / 3.172 GB, free: 302 MB / 0.8855 GB Notification: Performance of Templates: time 0.03176/7.022, allocations: 19.7 MB / 3.192 GB, free: 289.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches