Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001268/0.001268, allocations: 100.1 kB / 15.88 MB, free: 12 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.00129/0.00129, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.428/1.428, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7218/0.7233, allocations: 140.4 MB / 0.9496 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007365/0.7308, allocations: 6.435 MB / 0.9559 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1797/0.9105, allocations: 149.3 MB / 1.102 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.9128, allocations: 19.94 kB / 1.102 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.9142, allocations: 198.3 kB / 1.102 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.9175, allocations: 0.5837 MB / 1.102 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.9213, allocations: 1.203 MB / 1.104 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003698/0.925, allocations: 2.469 MB / 1.106 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002652/0.9276, allocations: 1.546 MB / 1.108 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001984/0.9296, allocations: 0.9688 MB / 1.108 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.9316, allocations: 1.171 MB / 1.11 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00084/0.9325, allocations: 156 kB / 1.11 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.9343, allocations: 0.5152 MB / 1.11 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009032/0.9352, allocations: 0.5331 MB / 1.111 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.9371, allocations: 1.099 MB / 1.112 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.9403, allocations: 2.67 MB / 1.114 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9403, allocations: 0 / 1.114 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9403, allocations: 0 / 1.114 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000131/0.9405, allocations: 0 / 1.114 GB, free: 8.812 MB / 0.8731 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.008209/0.9487, allocations: 2.776 MB / 1.117 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.9488, allocations: 8.031 kB / 1.117 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/0.9643, allocations: 2.12 MB / 1.119 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.9675, allocations: 1.266 MB / 1.12 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.9677, allocations: 172.5 kB / 1.121 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009283/0.9687, allocations: 216 kB / 1.121 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.9802, allocations: 3.278 MB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.881e-05/0.9803, allocations: 0 / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007159/0.9811, allocations: 96 kB / 1.124 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/0.9811, allocations: 56 kB / 1.124 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.995, allocations: 4.197 MB / 1.128 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/1.015, allocations: 7.325 MB / 1.135 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009678/1.024, allocations: 2.88 MB / 1.138 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00488/1.029, allocations: 1.485 MB / 1.14 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009317/1.03, allocations: 0.5071 MB / 1.14 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005877/1.036, allocations: 1.844 MB / 1.142 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 5.841e-06/1.036, allocations: 0 / 1.142 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01699/1.053, allocations: 4.454 MB / 1.146 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.053, allocations: 213.8 kB / 1.147 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/1.055, allocations: 0.9447 MB / 1.147 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004416/1.056, allocations: 61.7 kB / 1.148 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007728/1.056, allocations: 0.7427 MB / 1.148 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009767/1.057, allocations: 0.6814 MB / 1.149 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/1.058, allocations: 391.2 kB / 1.149 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.059, allocations: 305.1 kB / 1.15 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004302/1.063, allocations: 1.253 MB / 1.151 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/1.068, allocations: 1.437 MB / 1.152 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008989/1.077, allocations: 2.606 MB / 1.155 GB, free: 14.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/1.077, allocations: 0 / 1.155 GB, free: 14.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01155/1.088, allocations: 3.12 MB / 1.158 GB, free: 11.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.088, allocations: 4 kB / 1.158 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.088, allocations: 4 kB / 1.158 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/1.089, allocations: 84.78 kB / 1.158 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/1.093, allocations: 0.6046 MB / 1.158 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/1.095, allocations: 1.528 MB / 1.16 GB, free: 9.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/1.099, allocations: 358.1 kB / 1.16 GB, free: 9.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/1.099, allocations: 103.9 kB / 1.16 GB, free: 8.953 MB / 0.92 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.00152/1.101, allocations: 444.2 kB / 1.161 GB, free: 8.508 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006805/1.101, allocations: 158.1 kB / 1.161 GB, free: 8.352 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/1.114, allocations: 3.716 MB / 1.165 GB, free: 4.613 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/1.114, allocations: 27.94 kB / 1.165 GB, free: 4.586 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.114, allocations: 0 / 1.165 GB, free: 4.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.288e-05/1.114, allocations: 15.89 kB / 1.165 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/1.118, allocations: 2.455 MB / 1.167 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/1.118, allocations: 0 / 1.167 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/1.122, allocations: 0.5578 MB / 1.168 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005821/1.122, allocations: 88.77 kB / 1.168 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003773/1.123, allocations: 75.91 kB / 1.168 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/1.125, allocations: 1.548 MB / 1.169 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.125, allocations: 0 / 1.169 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.135, allocations: 3.207 MB / 1.172 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.137, allocations: 0.5413 MB / 1.173 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005531/1.137, allocations: 55.83 kB / 1.173 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/1.14, allocations: 271.6 kB / 1.173 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004224/1.141, allocations: 149.8 kB / 1.173 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002861/1.141, allocations: 91.91 kB / 1.173 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001288/1.142, allocations: 0.6958 MB / 1.174 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.142, allocations: 0 / 1.174 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002113/1.144, allocations: 0.6426 MB / 1.175 GB, free: 9.957 MB / 0.9356 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.001914/1.146, allocations: 0.6679 MB / 1.175 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.157, allocations: 3.163 MB / 1.179 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.157, allocations: 4.25 kB / 1.179 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005243/1.162, allocations: 1.751 MB / 1.18 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.164, allocations: 335.8 kB / 1.181 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.176, allocations: 5.238 MB / 1.186 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/1.178, allocations: 1.426 MB / 1.187 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002235/1.18, allocations: 279.2 kB / 1.187 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of SimCode: time 1.583e-06/1.18, allocations: 0 / 1.187 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of Templates: time 0.06191/1.242, allocations: 41.61 MB / 1.228 GB, free: 3.609 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches