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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001596/0.001596, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002371/0.002371, allocations: 190 kB / 16.25 MB, free: 6.633 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.344/1.344, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.735/2.735, allocations: 472.6 MB / 0.7448 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.45 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3279, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006285/0.3343, allocations: 4.85 MB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1575/0.4918, allocations: 148.4 MB / 1.217 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008944/0.4928, allocations: 19.88 kB / 1.217 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.4936, allocations: 150.8 kB / 1.218 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.4956, allocations: 484.7 kB / 1.218 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.4977, allocations: 0.7433 MB / 1.219 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.4995, allocations: 1.374 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.5005, allocations: 0.5792 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000801/0.5014, allocations: 478.3 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.5022, allocations: 0.4979 MB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002812/0.5025, allocations: 112 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.5035, allocations: 463.6 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.5039, allocations: 291 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000747/0.5046, allocations: 0.5558 MB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.5068, allocations: 1.581 MB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5068, allocations: 0 / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5068, allocations: 4 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.506e-05/0.5069, allocations: 0 / 1.224 GB, free: 9.691 MB / 0.9825 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.00326/0.5101, allocations: 1.426 MB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5102, allocations: 11.97 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.5113, allocations: 191.4 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.5123, allocations: 0.7344 MB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.5124, allocations: 66 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.5125, allocations: 80 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.5141, allocations: 0.9145 MB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5142, allocations: 0 / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.5143, allocations: 36 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.5143, allocations: 20 kB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.516, allocations: 1.104 MB / 1.229 GB, free: 4.977 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.52, allocations: 2.7 MB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.5215, allocations: 0.8019 MB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005282/0.522, allocations: 306.6 kB / 1.233 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.177e-05/0.5221, allocations: 36.67 kB / 1.233 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009403/0.523, allocations: 487.1 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 2.194e-06/0.523, allocations: 0 / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003226/0.5263, allocations: 1.194 MB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5264, allocations: 196.5 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.5272, allocations: 0.6254 MB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.5272, allocations: 41.7 kB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.5276, allocations: 400.2 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.5278, allocations: 256.2 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.528, allocations: 162.5 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5282, allocations: 390.7 kB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/0.5287, allocations: 273.8 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.5293, allocations: 359.1 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5304, allocations: 0.6151 MB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5304, allocations: 0 / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001908/0.5324, allocations: 0.8488 MB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5324, allocations: 8 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5324, allocations: 0 / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/0.533, allocations: 84.83 kB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.5337, allocations: 163.7 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.5358, allocations: 1.65 MB / 1.24 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.5366, allocations: 96.94 kB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.5366, allocations: 35.98 kB / 1.24 GB, free: 8.879 MB / 0.9981 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.0003894/0.537, allocations: 263.4 kB / 1.241 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.5372, allocations: 86.97 kB / 1.241 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.5395, allocations: 1.058 MB / 1.242 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.5395, allocations: 8 kB / 1.242 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.5395, allocations: 3.938 kB / 1.242 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.5395, allocations: 7.984 kB / 1.242 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.5405, allocations: 0.884 MB / 1.243 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5405, allocations: 0 / 1.243 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/0.5411, allocations: 147.8 kB / 1.243 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004464/0.5416, allocations: 72.78 kB / 1.243 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.5416, allocations: 23.98 kB / 1.243 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.5435, allocations: 1.662 MB / 1.244 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5435, allocations: 0 / 1.244 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.5454, allocations: 0.9279 MB / 1.245 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.5458, allocations: 267.7 kB / 1.246 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.5459, allocations: 20 kB / 1.246 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.5465, allocations: 71.86 kB / 1.246 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.5467, allocations: 64.91 kB / 1.246 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-05/0.5468, allocations: 43.91 kB / 1.246 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005381/0.5473, allocations: 451 kB / 1.246 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5473, allocations: 0 / 1.246 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008591/0.5482, allocations: 327.2 kB / 1.247 GB, free: 2.262 MB / 0.9981 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.001395/0.5496, allocations: 0.6001 MB / 1.247 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.5519, allocations: 1.034 MB / 1.248 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.552, allocations: 0 / 1.248 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009173/0.5529, allocations: 0.5119 MB / 1.249 GB, free: 272 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4768/1.03, allocations: 301.2 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/1.033, allocations: 2.053 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/1.034, allocations: 1.021 MB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009633/1.035, allocations: 261.3 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1.035, allocations: 104.3 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.035, allocations: 3.562 kB / 1.252 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02594/1.061, allocations: 14.92 MB / 1.267 GB, free: 180.4 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches