Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001844/0.001843, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004078, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8356, allocations: 153.7 MB / 1.021 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004793/0.8405, allocations: 3.643 MB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1597/1, allocations: 127.5 MB / 1.149 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008723/1.001, allocations: 15.94 kB / 1.149 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004384/1.002, allocations: 75.28 kB / 1.149 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/1.003, allocations: 489.1 kB / 1.149 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/1.005, allocations: 0.6174 MB / 1.15 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001204/1.006, allocations: 0.8103 MB / 1.151 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/1.007, allocations: 487.1 kB / 1.151 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005568/1.008, allocations: 330.6 kB / 1.152 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/1.008, allocations: 326.3 kB / 1.152 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/1.008, allocations: 28 kB / 1.152 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007925/1.009, allocations: 307.6 kB / 1.152 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002049/1.009, allocations: 179.2 kB / 1.152 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/1.009, allocations: 189.1 kB / 1.153 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/1.011, allocations: 1.153 MB / 1.154 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/1.011, allocations: 0 / 1.154 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.244e-06/1.011, allocations: 0 / 1.154 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.011, allocations: 0 / 1.154 GB, free: 8.766 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002329/1.013, allocations: 1.22 MB / 1.155 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/1.013, allocations: 8.031 kB / 1.155 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009131/1.014, allocations: 198.5 kB / 1.155 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.015, allocations: 0.7069 MB / 1.156 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/1.015, allocations: 69.94 kB / 1.156 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/1.015, allocations: 76 kB / 1.156 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/1.017, allocations: 0.9067 MB / 1.157 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/1.017, allocations: 0 / 1.157 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/1.017, allocations: 36 kB / 1.157 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/1.017, allocations: 20 kB / 1.157 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/1.018, allocations: 1.112 MB / 1.158 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/1.023, allocations: 2.528 MB / 1.16 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.024, allocations: 0.798 MB / 1.161 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/1.024, allocations: 24.69 kB / 1.161 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008945/1.025, allocations: 499.1 kB / 1.162 GB, free: 380 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=80): time 2.695e-06/1.025, allocations: 0 / 1.162 GB, free: 380 kB / 0.9044 GB Notification: Performance of matching and sorting (n=80): time 0.002979/1.028, allocations: 1.198 MB / 1.163 GB, free: 15.14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.028, allocations: 192.5 kB / 1.163 GB, free: 14.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/1.029, allocations: 0.6215 MB / 1.164 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/1.029, allocations: 45.7 kB / 1.164 GB, free: 14.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/1.029, allocations: 396.3 kB / 1.164 GB, free: 13.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/1.03, allocations: 256.3 kB / 1.164 GB, free: 13.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/1.03, allocations: 12 kB / 1.164 GB, free: 13.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.03, allocations: 386.7 kB / 1.165 GB, free: 13.19 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/1.03, allocations: 245.9 kB / 1.165 GB, free: 12.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/1.031, allocations: 358.6 kB / 1.165 GB, free: 12.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/1.031, allocations: 290.9 kB / 1.166 GB, free: 12.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.031, allocations: 0 / 1.166 GB, free: 12.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001763/1.033, allocations: 0.7981 MB / 1.166 GB, free: 11.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/1.033, allocations: 7.953 kB / 1.166 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.033, allocations: 4 kB / 1.166 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/1.034, allocations: 88.77 kB / 1.166 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/1.034, allocations: 155.8 kB / 1.167 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/1.037, allocations: 1.532 MB / 1.168 GB, free: 9.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/1.037, allocations: 99.39 kB / 1.168 GB, free: 9.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/1.037, allocations: 31.97 kB / 1.168 GB, free: 9.422 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0005321/1.038, allocations: 261.3 kB / 1.168 GB, free: 9.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/1.038, allocations: 90.92 kB / 1.169 GB, free: 9.07 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/1.04, allocations: 1.069 MB / 1.17 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.04, allocations: 12 kB / 1.17 GB, free: 7.969 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.04, allocations: 0 / 1.17 GB, free: 7.969 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.04, allocations: 3.984 kB / 1.17 GB, free: 7.965 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/1.041, allocations: 0.8917 MB / 1.171 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.041, allocations: 0 / 1.171 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/1.042, allocations: 147.7 kB / 1.171 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004908/1.043, allocations: 84.77 kB / 1.171 GB, free: 6.793 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/1.043, allocations: 27.98 kB / 1.171 GB, free: 6.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/1.044, allocations: 1.567 MB / 1.172 GB, free: 5.059 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.044, allocations: 0 / 1.172 GB, free: 5.059 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/1.046, allocations: 0.924 MB / 1.173 GB, free: 4.113 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/1.047, allocations: 287.6 kB / 1.173 GB, free: 3.812 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/1.047, allocations: 19.98 kB / 1.173 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/1.047, allocations: 82.34 kB / 1.174 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.048, allocations: 76.84 kB / 1.174 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/1.048, allocations: 31.98 kB / 1.174 GB, free: 3.605 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006521/1.048, allocations: 459 kB / 1.174 GB, free: 3.164 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 0 / 1.174 GB, free: 3.164 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008761/1.049, allocations: 295.3 kB / 1.174 GB, free: 2.875 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001405/1.051, allocations: 0.612 MB / 1.175 GB, free: 2.438 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.052, allocations: 0.7923 MB / 1.176 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.052, allocations: 0 / 1.176 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/1.053, allocations: 0.5157 MB / 1.176 GB, free: 1.109 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.054, allocations: 237.4 kB / 1.176 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004804/1.059, allocations: 2.148 MB / 1.179 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/1.06, allocations: 1.047 MB / 1.18 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009868/1.061, allocations: 266.5 kB / 1.18 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.061, allocations: 99.39 kB / 1.18 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of SimCode: time 8.82e-07/1.061, allocations: 8 kB / 1.18 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.02707/1.088, allocations: 13.51 MB / 1.193 GB, free: 15.92 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches