Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.0009792, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006538/0.006538, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.692/2.692, allocations: 462.6 MB / 0.7363 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003584, allocations: 12.69 kB / 0.9027 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.373, allocations: 159.6 MB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00822/0.3813, allocations: 7.845 MB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.5455, allocations: 147.9 MB / 1.211 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.5476, allocations: 23.88 kB / 1.211 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009838/0.5486, allocations: 242 kB / 1.211 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.5518, allocations: 0.7244 MB / 1.212 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.5551, allocations: 1.222 MB / 1.213 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00375/0.5588, allocations: 2.779 MB / 1.216 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.5608, allocations: 1.395 MB / 1.217 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.5626, allocations: 0.8127 MB / 1.218 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.564, allocations: 0.9638 MB / 1.219 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.5642, allocations: 64 kB / 1.219 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.5654, allocations: 439.6 kB / 1.219 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003606/0.5658, allocations: 390 kB / 1.22 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009373/0.5667, allocations: 1.023 MB / 1.221 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.57, allocations: 3.317 MB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5701, allocations: 0 / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5701, allocations: 3.938 kB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.202e-05/0.5701, allocations: 0 / 1.224 GB, free: 11.23 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005462/0.5756, allocations: 2.321 MB / 1.226 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5757, allocations: 15.97 kB / 1.226 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.5914, allocations: 2.296 MB / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.5946, allocations: 1.267 MB / 1.23 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.5948, allocations: 172.5 kB / 1.23 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/0.5952, allocations: 216 kB / 1.23 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009163/0.6044, allocations: 3.36 MB / 1.233 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.6045, allocations: 0 / 1.233 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.6048, allocations: 95.98 kB / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.6048, allocations: 56 kB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/0.6187, allocations: 4.338 MB / 1.238 GB, free: 12.86 MB / 0.9981 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.01845/0.6371, allocations: 8.151 MB / 1.245 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009121/0.6463, allocations: 2.898 MB / 1.248 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004595/0.6509, allocations: 1.505 MB / 1.25 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6682/1.319, allocations: 0.4991 MB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00657/1.326, allocations: 1.864 MB / 1.252 GB, free: 187 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 4.689e-06/1.326, allocations: 1.031 kB / 1.252 GB, free: 187 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01514/1.341, allocations: 4.513 MB / 1.257 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/1.341, allocations: 208.5 kB / 1.257 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/1.343, allocations: 0.9448 MB / 1.258 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002385/1.343, allocations: 64.69 kB / 1.258 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/1.343, allocations: 0.7397 MB / 1.258 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/1.344, allocations: 0.6786 MB / 1.259 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/1.344, allocations: 152.7 kB / 1.259 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.858e-05/1.344, allocations: 301.8 kB / 1.26 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004295/1.349, allocations: 1.27 MB / 1.261 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004665/1.353, allocations: 1.456 MB / 1.262 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008991/1.362, allocations: 2.633 MB / 1.265 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.362, allocations: 0.8125 kB / 1.265 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01118/1.374, allocations: 3.152 MB / 1.268 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.374, allocations: 5.875 kB / 1.268 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.374, allocations: 2.75 kB / 1.268 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006811/1.374, allocations: 91.8 kB / 1.268 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004676/1.379, allocations: 0.609 MB / 1.269 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/1.381, allocations: 1.543 MB / 1.27 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.385, allocations: 404.9 kB / 1.27 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007039/1.386, allocations: 97.11 kB / 1.271 GB, free: 183.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.002166/1.388, allocations: 441.8 kB / 1.271 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008584/1.389, allocations: 157.4 kB / 1.271 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.405, allocations: 3.748 MB / 1.275 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/1.405, allocations: 22.53 kB / 1.275 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/1.405, allocations: 0 / 1.275 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.603e-05/1.405, allocations: 11.77 kB / 1.275 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/1.411, allocations: 2.443 MB / 1.277 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.126e-05/1.411, allocations: 0.75 kB / 1.277 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003921/1.415, allocations: 0.5692 MB / 1.278 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006346/1.415, allocations: 89.27 kB / 1.278 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000495/1.416, allocations: 75.81 kB / 1.278 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/1.418, allocations: 1.56 MB / 1.279 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.418, allocations: 0.5156 kB / 1.279 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.431, allocations: 3.239 MB / 1.283 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.432, allocations: 0.574 MB / 1.283 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008091/1.433, allocations: 46 kB / 1.283 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003466/1.437, allocations: 300.2 kB / 1.283 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00053/1.437, allocations: 154 kB / 1.284 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00044/1.438, allocations: 95.2 kB / 1.284 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001586/1.439, allocations: 0.6982 MB / 1.284 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.71e-07/1.439, allocations: 0 / 1.284 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003231/1.443, allocations: 0.674 MB / 1.285 GB, free: 177.5 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002148/1.445, allocations: 0.6571 MB / 1.286 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.457, allocations: 3.193 MB / 1.289 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.457, allocations: 1.422 kB / 1.289 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005902/1.462, allocations: 1.776 MB / 1.291 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/1.466, allocations: 365.3 kB / 1.291 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.477, allocations: 5.12 MB / 1.296 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/1.478, allocations: 1.429 MB / 1.297 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004261/1.482, allocations: 0.5741 MB / 1.298 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.484, allocations: 232.8 kB / 1.298 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.484, allocations: 0 / 1.298 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04605/1.53, allocations: 29.84 MB / 1.327 GB, free: 142.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches