Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 249.3 MB / 261.8 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007957/0.0007958, allocations: 82.48 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.331e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2387, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.823/7.062, allocations: 2.191 GB / 3.082 GB, free: 178 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/7.062, allocations: 83.95 kB / 3.083 GB, free: 178 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1775/7.239, allocations: 78.99 MB / 3.16 GB, free: 98.61 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.195e-06/7.24, allocations: 0 / 3.16 GB, free: 98.61 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.407e-05/7.24, allocations: 32 kB / 3.16 GB, free: 98.58 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001834/7.241, allocations: 1.238 MB / 3.161 GB, free: 97.29 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/7.242, allocations: 11.97 kB / 3.161 GB, free: 97.28 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008385/7.242, allocations: 218.1 kB / 3.161 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/7.243, allocations: 0.6938 MB / 3.162 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/7.243, allocations: 86.25 kB / 3.162 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/7.244, allocations: 108 kB / 3.162 GB, free: 96.13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/7.245, allocations: 1.071 MB / 3.163 GB, free: 95 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/7.245, allocations: 3.938 kB / 3.163 GB, free: 94.99 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/7.245, allocations: 51.95 kB / 3.163 GB, free: 94.94 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/7.245, allocations: 28 kB / 3.163 GB, free: 94.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/7.247, allocations: 1.172 MB / 3.164 GB, free: 93.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/7.251, allocations: 3.015 MB / 3.167 GB, free: 90.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/7.252, allocations: 0.7426 MB / 3.168 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/7.252, allocations: 287.1 kB / 3.168 GB, free: 89.61 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.541e-05/7.252, allocations: 32.81 kB / 3.168 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005791/7.253, allocations: 437.2 kB / 3.169 GB, free: 89.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 3.928e-06/7.253, allocations: 0 / 3.169 GB, free: 89.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78): time 0.001507/7.254, allocations: 0.7275 MB / 3.169 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/7.254, allocations: 244.1 kB / 3.17 GB, free: 88.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007242/7.255, allocations: 0.6445 MB / 3.17 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/7.255, allocations: 37.7 kB / 3.17 GB, free: 87.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/7.255, allocations: 499.7 kB / 3.171 GB, free: 86.91 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/7.255, allocations: 264.1 kB / 3.171 GB, free: 86.65 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/7.255, allocations: 12 kB / 3.171 GB, free: 86.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.014e-05/7.256, allocations: 337.9 kB / 3.171 GB, free: 86.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/7.256, allocations: 217.5 kB / 3.172 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/7.256, allocations: 333 kB / 3.172 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/7.257, allocations: 266 kB / 3.172 GB, free: 85.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/7.257, allocations: 4 kB / 3.172 GB, free: 85.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001466/7.258, allocations: 0.7421 MB / 3.173 GB, free: 84.72 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/7.258, allocations: 8 kB / 3.173 GB, free: 84.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/7.258, allocations: 4.062 kB / 3.173 GB, free: 84.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/7.259, allocations: 76.78 kB / 3.173 GB, free: 84.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/7.259, allocations: 155.8 kB / 3.173 GB, free: 84.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/7.261, allocations: 1.505 MB / 3.175 GB, free: 82.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/7.262, allocations: 95.33 kB / 3.175 GB, free: 82.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/7.262, allocations: 27.98 kB / 3.175 GB, free: 82.71 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/7.262, allocations: 146.5 kB / 3.175 GB, free: 82.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/7.262, allocations: 82.97 kB / 3.175 GB, free: 82.48 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/7.264, allocations: 1.01 MB / 3.176 GB, free: 81.45 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/7.265, allocations: 8.109 kB / 3.176 GB, free: 81.45 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/7.265, allocations: 3.938 kB / 3.176 GB, free: 81.44 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/7.265, allocations: 3.984 kB / 3.176 GB, free: 81.44 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/7.266, allocations: 0.9931 MB / 3.177 GB, free: 80.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/7.266, allocations: 7.891 kB / 3.177 GB, free: 80.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/7.266, allocations: 155.7 kB / 3.177 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/7.267, allocations: 84.77 kB / 3.177 GB, free: 80.15 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/7.267, allocations: 23.98 kB / 3.177 GB, free: 80.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/7.268, allocations: 1.548 MB / 3.179 GB, free: 78.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/7.268, allocations: 0 / 3.179 GB, free: 78.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/7.27, allocations: 0.8401 MB / 3.179 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/7.27, allocations: 291.7 kB / 3.18 GB, free: 77.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/7.27, allocations: 20 kB / 3.18 GB, free: 77.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004963/7.271, allocations: 67.94 kB / 3.18 GB, free: 77.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/7.271, allocations: 60.69 kB / 3.18 GB, free: 77.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/7.271, allocations: 35.98 kB / 3.18 GB, free: 77.09 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006089/7.272, allocations: 0.5109 MB / 3.18 GB, free: 76.58 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.272, allocations: 0 / 3.18 GB, free: 76.58 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001053/7.273, allocations: 386.7 kB / 3.181 GB, free: 76.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001704/7.274, allocations: 0.9924 MB / 3.182 GB, free: 75.29 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001201/7.276, allocations: 0.7253 MB / 3.182 GB, free: 74.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/7.276, allocations: 3.938 kB / 3.182 GB, free: 74.55 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006399/7.276, allocations: 487.1 kB / 3.183 GB, free: 74.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/7.277, allocations: 255.2 kB / 3.183 GB, free: 73.81 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/7.281, allocations: 1.536 MB / 3.185 GB, free: 72.25 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/7.281, allocations: 1.098 MB / 3.186 GB, free: 71.12 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00082/7.282, allocations: 266.6 kB / 3.186 GB, free: 70.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/7.282, allocations: 95.39 kB / 3.186 GB, free: 70.77 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/7.282, allocations: 0 / 3.186 GB, free: 70.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.02951/7.312, allocations: 22.17 MB / 3.208 GB, free: 48.66 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches