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.001392/0.001393, 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.001661/0.001661, allocations: 193.4 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.0012, allocations: 67.91 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3026, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006781/0.3094, allocations: 4.845 MB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1669/0.4764, allocations: 150.6 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.4776, allocations: 15.94 kB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.4785, allocations: 186.2 kB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.4811, allocations: 0.5392 MB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.4835, allocations: 0.8275 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.4854, allocations: 1.37 MB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.4866, allocations: 0.5791 MB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008356/0.4874, allocations: 478.4 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009144/0.4883, allocations: 0.494 MB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.4887, allocations: 116 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.4899, allocations: 459.6 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.4903, allocations: 295 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007498/0.491, allocations: 0.5558 MB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.4933, allocations: 1.577 MB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4933, allocations: 4 kB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4934, allocations: 0 / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.113e-05/0.4934, allocations: 0 / 1.227 GB, free: 6.863 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.003005/0.4964, allocations: 1.422 MB / 1.229 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4965, allocations: 12.03 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009938/0.4975, allocations: 183.4 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.4987, allocations: 0.7344 MB / 1.23 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.4987, allocations: 69.98 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.4989, allocations: 76 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.5005, allocations: 0.9106 MB / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.5005, allocations: 11.92 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.5006, allocations: 36 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.5006, allocations: 20 kB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.5024, allocations: 1.097 MB / 1.232 GB, free: 2.164 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.004204/0.5066, allocations: 2.701 MB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.5082, allocations: 0.7989 MB / 1.235 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005644/0.5088, allocations: 310.6 kB / 1.235 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.405e-05/0.5088, allocations: 28.67 kB / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009323/0.5098, allocations: 487.2 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 2.454e-06/0.5098, allocations: 0 / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.003278/0.5131, allocations: 1.201 MB / 1.237 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5132, allocations: 192.6 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008267/0.514, allocations: 0.6254 MB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/0.5141, allocations: 41.7 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.5144, allocations: 396.3 kB / 1.238 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.5147, allocations: 264.2 kB / 1.239 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.5149, allocations: 166.5 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5151, allocations: 386.7 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.5156, allocations: 269.8 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.5163, allocations: 367 kB / 1.24 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.5175, allocations: 0.6111 MB / 1.24 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5175, allocations: 0 / 1.24 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001983/0.5195, allocations: 0.8488 MB / 1.241 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5195, allocations: 4 kB / 1.241 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5195, allocations: 0 / 1.241 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.5201, allocations: 88.81 kB / 1.241 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.5208, allocations: 171.7 kB / 1.241 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.523, allocations: 1.626 MB / 1.243 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/0.5238, allocations: 91.42 kB / 1.243 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/0.5239, allocations: 36.03 kB / 1.243 GB, free: 6.082 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.000423/0.5243, allocations: 275.5 kB / 1.243 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.5245, allocations: 86.95 kB / 1.243 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.5269, allocations: 1.061 MB / 1.244 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.5269, allocations: 8 kB / 1.244 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5269, allocations: 3.938 kB / 1.244 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.527, allocations: 3.984 kB / 1.244 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.528, allocations: 0.8879 MB / 1.245 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5281, allocations: 0 / 1.245 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.5287, allocations: 147.8 kB / 1.245 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.5291, allocations: 72.78 kB / 1.246 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.5292, allocations: 23.98 kB / 1.246 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.5311, allocations: 1.658 MB / 1.247 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5311, allocations: 0 / 1.247 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.5331, allocations: 0.924 MB / 1.248 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.5335, allocations: 267.7 kB / 1.248 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.5336, allocations: 23.98 kB / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.5343, allocations: 63.94 kB / 1.248 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.5345, allocations: 68.89 kB / 1.249 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.5345, allocations: 39.92 kB / 1.249 GB, free: 220 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6503/1.185, allocations: 450.5 kB / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.185, allocations: 0 / 1.249 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001378/1.186, allocations: 318.2 kB / 1.249 GB, free: 183.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: 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.001481/1.188, allocations: 0.6133 MB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002719/1.191, allocations: 1.033 MB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.191, allocations: 4.438 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.192, allocations: 0.5076 MB / 1.251 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.193, allocations: 302.4 kB / 1.252 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/1.196, allocations: 1.652 MB / 1.253 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/1.197, allocations: 1.021 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009491/1.198, allocations: 266 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/1.198, allocations: 106.9 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.198, allocations: 1 kB / 1.255 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03169/1.23, allocations: 15.03 MB / 1.269 GB, free: 179.9 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