Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_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_9_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.005649/0.005649, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001538/0.001539, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.556/2.556, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.8 kB / 0.9508 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3022, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006253/0.3085, allocations: 4.336 MB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.4745, allocations: 150.5 MB / 1.239 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.4764, allocations: 19.88 kB / 1.239 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007949/0.4772, allocations: 178.4 kB / 1.239 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.4794, allocations: 0.5169 MB / 1.24 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.4819, allocations: 0.8253 MB / 1.241 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.4832, allocations: 1.289 MB / 1.242 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008345/0.4841, allocations: 0.614 MB / 1.243 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/0.4846, allocations: 474.4 kB / 1.243 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.4852, allocations: 489.8 kB / 1.243 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.4853, allocations: 116 kB / 1.244 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007911/0.4861, allocations: 491.5 kB / 1.244 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.4864, allocations: 287 kB / 1.244 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.4868, allocations: 0.544 MB / 1.245 GB, free: 172 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.4886, allocations: 1.599 MB / 1.246 GB, free: 14.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4886, allocations: 4 kB / 1.246 GB, free: 14.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4886, allocations: 0 / 1.246 GB, free: 14.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.4886, allocations: 0 / 1.246 GB, free: 14.56 MB / 1.014 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.002341/0.4909, allocations: 1.455 MB / 1.248 GB, free: 13.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.491, allocations: 8.031 kB / 1.248 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/0.4919, allocations: 188.1 kB / 1.248 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.4931, allocations: 0.7623 MB / 1.249 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.4931, allocations: 62 kB / 1.249 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4933, allocations: 84 kB / 1.249 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.4947, allocations: 0.9144 MB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4948, allocations: 4 kB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.4949, allocations: 36 kB / 1.25 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.4949, allocations: 20 kB / 1.25 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.4966, allocations: 1.104 MB / 1.251 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.5001, allocations: 2.454 MB / 1.253 GB, free: 7.273 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.5016, allocations: 0.8018 MB / 1.254 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.5022, allocations: 302.6 kB / 1.254 GB, free: 6.172 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.06e-05/0.5023, allocations: 40.67 kB / 1.254 GB, free: 6.133 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008646/0.5031, allocations: 487.1 kB / 1.255 GB, free: 5.637 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.104e-06/0.5031, allocations: 0 / 1.255 GB, free: 5.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003195/0.5063, allocations: 1.186 MB / 1.256 GB, free: 4.422 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.5065, allocations: 192.6 kB / 1.256 GB, free: 4.191 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.5072, allocations: 0.6293 MB / 1.257 GB, free: 3.555 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.5073, allocations: 57.58 kB / 1.257 GB, free: 3.492 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.5076, allocations: 401 kB / 1.257 GB, free: 3.094 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.5078, allocations: 273.7 kB / 1.258 GB, free: 2.824 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.5081, allocations: 162.6 kB / 1.258 GB, free: 2.656 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5083, allocations: 386.7 kB / 1.258 GB, free: 2.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/0.5088, allocations: 261.9 kB / 1.258 GB, free: 2.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.5094, allocations: 367.1 kB / 1.259 GB, free: 1.641 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.5104, allocations: 0.5955 MB / 1.259 GB, free: 1.031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5104, allocations: 4 kB / 1.259 GB, free: 1.027 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001803/0.5122, allocations: 0.8531 MB / 1.26 GB, free: 172 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5123, allocations: 9.406 kB / 1.26 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5123, allocations: 3.938 kB / 1.26 GB, free: 160 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.5129, allocations: 80.84 kB / 1.26 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7031/1.216, allocations: 158.8 kB / 1.26 GB, free: 173.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/1.218, allocations: 1.626 MB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.22, allocations: 96.5 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.22, allocations: 36.75 kB / 1.262 GB, free: 172.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008241/1.22, allocations: 273.9 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.221, allocations: 85.95 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/1.224, allocations: 1.055 MB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/1.224, allocations: 9.312 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.224, allocations: 1.422 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.224, allocations: 5.328 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/1.225, allocations: 0.8895 MB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/1.225, allocations: 0 / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/1.226, allocations: 144.8 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/1.226, allocations: 75.41 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/1.226, allocations: 23.64 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/1.228, allocations: 1.662 MB / 1.266 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.228, allocations: 0.875 kB / 1.266 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/1.23, allocations: 0.9317 MB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/1.231, allocations: 268.7 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.231, allocations: 26.88 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/1.231, allocations: 62.48 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.231, allocations: 68.02 kB / 1.267 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/1.232, allocations: 36.55 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006581/1.232, allocations: 461.5 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.232, allocations: 0.6562 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00102/1.233, allocations: 316.4 kB / 1.268 GB, free: 169.4 MB / 1.014 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/1.235, allocations: 0.6079 MB / 1.269 GB, free: 169.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001861/1.237, allocations: 0.831 MB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.237, allocations: 0.6562 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009744/1.238, allocations: 0.5092 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/1.239, allocations: 286 kB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/1.243, allocations: 1.768 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/1.244, allocations: 1.018 MB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009831/1.245, allocations: 261.5 kB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/1.245, allocations: 102 kB / 1.273 GB, free: 166.9 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.245, allocations: 0.5 kB / 1.273 GB, free: 166.9 MB / 1.014 GB Notification: Performance of Templates: time 0.03153/1.277, allocations: 14.78 MB / 1.288 GB, free: 164.1 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches