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.491/1.491, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008832/0.0008831, allocations: 74.55 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.09e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2384, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.121/7.36, allocations: 2.19 GB / 3.082 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/7.36, allocations: 93.5 kB / 3.082 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1176/7.478, allocations: 58.17 MB / 3.139 GB, free: 85.33 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.933e-06/7.478, allocations: 3.938 kB / 3.139 GB, free: 85.33 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.759e-05/7.478, allocations: 16 kB / 3.139 GB, free: 85.31 MB / 0.8698 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.001502/7.479, allocations: 1.031 MB / 3.14 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/7.479, allocations: 12.03 kB / 3.14 GB, free: 84.22 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008125/7.48, allocations: 182.6 kB / 3.14 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/7.481, allocations: 0.5997 MB / 3.14 GB, free: 83.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/7.481, allocations: 62 kB / 3.141 GB, free: 83.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/7.481, allocations: 79.97 kB / 3.141 GB, free: 83.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/7.482, allocations: 0.8053 MB / 3.141 GB, free: 82.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/7.482, allocations: 0 / 3.141 GB, free: 82.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/7.482, allocations: 32 kB / 3.141 GB, free: 82.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/7.482, allocations: 27.95 kB / 3.141 GB, free: 82.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/7.484, allocations: 1.007 MB / 3.142 GB, free: 81.35 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/7.487, allocations: 2.351 MB / 3.145 GB, free: 78.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/7.487, allocations: 0.6727 MB / 3.145 GB, free: 78.24 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/7.488, allocations: 250.5 kB / 3.146 GB, free: 78 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/7.488, allocations: 36.66 kB / 3.146 GB, free: 77.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005193/7.488, allocations: 393.2 kB / 3.146 GB, free: 77.56 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 1.944e-06/7.488, allocations: 4 kB / 3.146 GB, free: 77.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001378/7.49, allocations: 0.6758 MB / 3.147 GB, free: 76.87 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/7.49, allocations: 244.1 kB / 3.147 GB, free: 76.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/7.49, allocations: 0.5658 MB / 3.147 GB, free: 76 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/7.49, allocations: 45.62 kB / 3.148 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/7.491, allocations: 364.3 kB / 3.148 GB, free: 75.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/7.491, allocations: 232.6 kB / 3.148 GB, free: 75.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/7.491, allocations: 12 kB / 3.148 GB, free: 75.35 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/7.491, allocations: 378.8 kB / 3.148 GB, free: 74.97 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/7.491, allocations: 189.5 kB / 3.149 GB, free: 74.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/7.492, allocations: 309 kB / 3.149 GB, free: 74.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/7.492, allocations: 246 kB / 3.149 GB, free: 74.21 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/7.492, allocations: 0 / 3.149 GB, free: 74.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001225/7.493, allocations: 0.672 MB / 3.15 GB, free: 73.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/7.493, allocations: 9.516 kB / 3.15 GB, free: 73.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/7.493, allocations: 4 kB / 3.15 GB, free: 73.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/7.494, allocations: 84.77 kB / 3.15 GB, free: 73.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/7.494, allocations: 131.9 kB / 3.15 GB, free: 73.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/7.496, allocations: 1.529 MB / 3.152 GB, free: 71.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/7.496, allocations: 83.53 kB / 3.152 GB, free: 71.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/7.496, allocations: 23.98 kB / 3.152 GB, free: 71.52 MB / 0.8698 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 () * 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.0001364/7.497, allocations: 140.9 kB / 3.152 GB, free: 71.38 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/7.497, allocations: 79.02 kB / 3.152 GB, free: 71.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/7.498, allocations: 0.9299 MB / 3.153 GB, free: 70.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/7.498, allocations: 8 kB / 3.153 GB, free: 70.35 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/7.498, allocations: 0 / 3.153 GB, free: 70.35 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/7.498, allocations: 3.984 kB / 3.153 GB, free: 70.35 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/7.499, allocations: 0.8409 MB / 3.154 GB, free: 69.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/7.499, allocations: 4 kB / 3.154 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/7.5, allocations: 139.8 kB / 3.154 GB, free: 69.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/7.5, allocations: 80.78 kB / 3.154 GB, free: 69.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/7.5, allocations: 27.98 kB / 3.154 GB, free: 69.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/7.502, allocations: 1.536 MB / 3.155 GB, free: 67.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/7.502, allocations: 0 / 3.155 GB, free: 67.53 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/7.503, allocations: 0.7855 MB / 3.156 GB, free: 66.73 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/7.503, allocations: 275.8 kB / 3.156 GB, free: 66.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/7.503, allocations: 19.98 kB / 3.156 GB, free: 66.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/7.504, allocations: 63.95 kB / 3.156 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/7.504, allocations: 68.64 kB / 3.157 GB, free: 66.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/7.504, allocations: 27.92 kB / 3.157 GB, free: 66.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004687/7.505, allocations: 471.2 kB / 3.157 GB, free: 65.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.505, allocations: 0 / 3.157 GB, free: 65.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009082/7.505, allocations: 331.2 kB / 3.157 GB, free: 65.48 MB / 0.8698 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) * 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.001579/7.507, allocations: 0.9889 MB / 3.158 GB, free: 64.56 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001088/7.508, allocations: 0.6784 MB / 3.159 GB, free: 63.87 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/7.508, allocations: 0 / 3.159 GB, free: 63.87 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/7.509, allocations: 455 kB / 3.159 GB, free: 63.42 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009299/7.51, allocations: 235 kB / 3.16 GB, free: 63.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/7.512, allocations: 1.3 MB / 3.161 GB, free: 61.87 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/7.513, allocations: 1.015 MB / 3.162 GB, free: 60.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007012/7.514, allocations: 249.9 kB / 3.162 GB, free: 60.58 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/7.514, allocations: 91.39 kB / 3.162 GB, free: 60.49 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/7.514, allocations: 0 / 3.162 GB, free: 60.49 MB / 0.8698 GB Notification: Performance of Templates: time 0.02704/7.541, allocations: 21.35 MB / 3.183 GB, free: 39.21 MB / 0.8698 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