Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.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 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.14 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.008989/0.00899, allocations: 171.4 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.337/1.337, 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.737/2.737, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 13.72 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3157, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006846/0.3226, allocations: 5.502 MB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.4748, allocations: 146.9 MB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.4758, allocations: 19.88 kB / 1.207 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.4767, allocations: 174.6 kB / 1.208 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.4788, allocations: 0.5292 MB / 1.208 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.4808, allocations: 0.7565 MB / 1.209 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002056/0.4829, allocations: 1.548 MB / 1.21 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.4846, allocations: 0.8152 MB / 1.211 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000822/0.4855, allocations: 425.9 kB / 1.212 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007604/0.4862, allocations: 473.3 kB / 1.212 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.4864, allocations: 28 kB / 1.212 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009102/0.4874, allocations: 375.6 kB / 1.212 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.4876, allocations: 214.9 kB / 1.213 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.4883, allocations: 0.5879 MB / 1.213 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.4903, allocations: 1.837 MB / 1.215 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4903, allocations: 0 / 1.215 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4903, allocations: 0 / 1.215 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.067e-05/0.4904, allocations: 0 / 1.215 GB, free: 4.168 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00279/0.4932, allocations: 1.444 MB / 1.216 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4932, allocations: 12.03 kB / 1.216 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.4943, allocations: 227 kB / 1.217 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.4958, allocations: 0.8482 MB / 1.217 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.499e-05/0.4959, allocations: 98.39 kB / 1.218 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.4961, allocations: 112 kB / 1.218 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.4984, allocations: 1.21 MB / 1.219 GB, free: 64 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4984, allocations: 3.938 kB / 1.219 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.4985, allocations: 55.98 kB / 1.219 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/0.4986, allocations: 28.05 kB / 1.219 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.5008, allocations: 1.297 MB / 1.22 GB, free: 14.67 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.00604/0.5069, allocations: 3.615 MB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.5086, allocations: 0.8754 MB / 1.225 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.5092, allocations: 330.7 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.187e-05/0.5093, allocations: 32.61 kB / 1.225 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009452/0.5102, allocations: 0.5159 MB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=87): time 2.756e-06/0.5103, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87): time 0.003381/0.5136, allocations: 1.302 MB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5138, allocations: 188.9 kB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5148, allocations: 0.7352 MB / 1.228 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.244e-05/0.5149, allocations: 45.7 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.5154, allocations: 0.5154 MB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.5156, allocations: 283.9 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5157, allocations: 73.67 kB / 1.229 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5159, allocations: 338 kB / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.5165, allocations: 297.8 kB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/0.5172, allocations: 403 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.5184, allocations: 0.6633 MB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5184, allocations: 0 / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002245/0.5207, allocations: 0.9306 MB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.5207, allocations: 7.984 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5207, allocations: 8.094 kB / 1.231 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/0.5214, allocations: 84.78 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/0.5221, allocations: 179.7 kB / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.5244, allocations: 1.542 MB / 1.233 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009724/0.5254, allocations: 109 kB / 1.233 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.5255, allocations: 47.91 kB / 1.233 GB, free: 1.113 MB / 0.9825 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 (104): * Single equations (assignments): 103 * 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.0006376/0.5262, allocations: 299.3 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.5264, allocations: 90.88 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.529, allocations: 1.133 MB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.529, allocations: 12 kB / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.529, allocations: 0 / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.5291, allocations: 7.922 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.5305, allocations: 1.052 MB / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.5305, allocations: 0 / 1.236 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.5311, allocations: 155.8 kB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005488/0.5317, allocations: 84.77 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.5318, allocations: 27.98 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.5336, allocations: 1.552 MB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5336, allocations: 3.984 kB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.5357, allocations: 0.9902 MB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.5362, allocations: 303.5 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.5364, allocations: 23.98 kB / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.5372, allocations: 83.94 kB / 1.239 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.5374, allocations: 72.89 kB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/0.5375, allocations: 39.97 kB / 1.239 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007211/0.5382, allocations: 0.5224 MB / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5382, allocations: 0 / 1.239 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00105/0.5393, allocations: 382.8 kB / 1.24 GB, free: 10.06 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 (98): * Single equations (assignments): 92 * 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.001422/0.5407, allocations: 0.6204 MB / 1.24 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.5425, allocations: 0.8859 MB / 1.241 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5425, allocations: 0 / 1.241 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009826/0.5435, allocations: 0.5511 MB / 1.242 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5449, allocations: 298.6 kB / 1.242 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.5489, allocations: 2.557 MB / 1.244 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.5497, allocations: 1.106 MB / 1.245 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001042/0.5507, allocations: 299.6 kB / 1.246 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.5511, allocations: 107.4 kB / 1.246 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/0.5511, allocations: 0 / 1.246 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of Templates: time 0.6421/1.193, allocations: 15.6 MB / 1.261 GB, free: 187.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches