Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_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_10_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.001971/0.001971, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.488/1.488, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437 MB / 0.7104 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 67.91 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.628/0.6299, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01138/0.6414, allocations: 8.467 MB / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1917/0.8331, allocations: 151.8 MB / 1.174 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.8343, allocations: 23.88 kB / 1.174 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000834/0.8352, allocations: 324.7 kB / 1.174 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.8379, allocations: 0.8533 MB / 1.175 GB, free: 328 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.8409, allocations: 1.377 MB / 1.176 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003347/0.8443, allocations: 2.986 MB / 1.179 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.8463, allocations: 1.492 MB / 1.181 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.8479, allocations: 1.184 MB / 1.182 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.8496, allocations: 1.335 MB / 1.183 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004561/0.85, allocations: 332 kB / 1.183 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.8513, allocations: 0.6715 MB / 1.184 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006725/0.852, allocations: 0.7011 MB / 1.185 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.8533, allocations: 1.341 MB / 1.186 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.8571, allocations: 3.587 MB / 1.19 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8571, allocations: 0 / 1.19 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8571, allocations: 0 / 1.19 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.229e-05/0.8572, allocations: 0 / 1.19 GB, free: 1.227 MB / 0.9356 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.006077/0.8632, allocations: 2.823 MB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8633, allocations: 8.031 kB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.8788, allocations: 2.116 MB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.8816, allocations: 1.267 MB / 1.196 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.8818, allocations: 168.5 kB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004576/0.8822, allocations: 216 kB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008873/0.8911, allocations: 3.286 MB / 1.199 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.8912, allocations: 3.938 kB / 1.199 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/0.8915, allocations: 92 kB / 1.199 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-05/0.8915, allocations: 56 kB / 1.199 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.9045, allocations: 4.201 MB / 1.204 GB, free: 2.758 MB / 0.9512 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.01639/0.9209, allocations: 8.112 MB / 1.211 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009349/0.9303, allocations: 2.876 MB / 1.214 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005091/0.9354, allocations: 1.497 MB / 1.216 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008244/0.9363, allocations: 0.5074 MB / 1.216 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005578/0.9419, allocations: 1.84 MB / 1.218 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=213): time 4.639e-06/0.9419, allocations: 0 / 1.218 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=213): time 0.01575/0.9576, allocations: 4.474 MB / 1.222 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.9578, allocations: 201.9 kB / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.9593, allocations: 0.9486 MB / 1.223 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.9596, allocations: 65.7 kB / 1.224 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007281/0.9603, allocations: 0.7348 MB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007355/0.961, allocations: 0.6776 MB / 1.225 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007802/0.9618, allocations: 399.1 kB / 1.225 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.962, allocations: 309.1 kB / 1.226 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00444/0.9664, allocations: 1.253 MB / 1.227 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/0.9714, allocations: 1.445 MB / 1.228 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009091/0.9805, allocations: 2.606 MB / 1.231 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.9806, allocations: 7.938 kB / 1.231 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01123/0.9918, allocations: 3.124 MB / 1.234 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.9918, allocations: 4 kB / 1.234 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.9919, allocations: 4 kB / 1.234 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.9925, allocations: 88.83 kB / 1.234 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/0.9962, allocations: 0.6045 MB / 1.235 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/0.9986, allocations: 1.638 MB / 1.236 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003546/1.002, allocations: 366.1 kB / 1.236 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004093/1.003, allocations: 99.95 kB / 1.237 GB, free: 184 kB / 0.9825 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.001416/1.004, allocations: 444.3 kB / 1.237 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/1.005, allocations: 150.1 kB / 1.237 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/1.017, allocations: 3.716 MB / 1.241 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/1.017, allocations: 27.98 kB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.017, allocations: 0 / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/1.017, allocations: 7.969 kB / 1.241 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/1.021, allocations: 2.459 MB / 1.243 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.022, allocations: 4 kB / 1.243 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0038/1.025, allocations: 0.5693 MB / 1.244 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/1.026, allocations: 72.78 kB / 1.244 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/1.026, allocations: 79.91 kB / 1.244 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/1.029, allocations: 1.662 MB / 1.246 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.029, allocations: 0 / 1.246 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/1.041, allocations: 3.21 MB / 1.249 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.042, allocations: 0.5374 MB / 1.249 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006042/1.043, allocations: 55.78 kB / 1.249 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.046, allocations: 271.5 kB / 1.25 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/1.047, allocations: 153.8 kB / 1.25 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/1.047, allocations: 91.91 kB / 1.25 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001436/1.048, allocations: 0.6997 MB / 1.25 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.21e-07/1.048, allocations: 0 / 1.25 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002276/1.051, allocations: 0.6816 MB / 1.251 GB, free: 1.039 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.002336/1.053, allocations: 0.6601 MB / 1.252 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4939/1.547, allocations: 3.667 MB / 1.255 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.547, allocations: 0.8438 kB / 1.255 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005646/1.553, allocations: 1.75 MB / 1.257 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.555, allocations: 395.9 kB / 1.257 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.566, allocations: 4.118 MB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/1.568, allocations: 1.432 MB / 1.263 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004441/1.573, allocations: 0.5775 MB / 1.263 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.574, allocations: 238.5 kB / 1.264 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.302e-06/1.574, allocations: 0 / 1.264 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0545/1.628, allocations: 31.45 MB / 1.294 GB, free: 208 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches