Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 110 kB / 16.37 MB, free: 6.469 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.001726/0.001726, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 62.38 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2962, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007321/0.3035, allocations: 4.433 MB / 0.9555 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6663/0.9699, allocations: 150.6 MB / 1.103 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.971, allocations: 16 kB / 1.103 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.9716, allocations: 181.4 kB / 1.103 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.9736, allocations: 0.4943 MB / 1.103 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.9758, allocations: 0.8648 MB / 1.104 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.9775, allocations: 1.325 MB / 1.105 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.9786, allocations: 0.7098 MB / 1.106 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007649/0.9794, allocations: 0.4904 MB / 1.107 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.9801, allocations: 0.5295 MB / 1.107 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.9803, allocations: 125 kB / 1.107 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.9814, allocations: 0.5042 MB / 1.108 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.9817, allocations: 318.6 kB / 1.108 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006329/0.9824, allocations: 0.5881 MB / 1.109 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.985, allocations: 1.703 MB / 1.11 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.985, allocations: 1.375 kB / 1.11 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/0.985, allocations: 0 / 1.11 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.458e-05/0.985, allocations: 0.5938 kB / 1.11 GB, free: 4.086 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003584/0.9886, allocations: 1.487 MB / 1.112 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.9887, allocations: 9.531 kB / 1.112 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.9901, allocations: 216.1 kB / 1.112 GB, free: 19.22 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.9916, allocations: 0.7824 MB / 1.113 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.022e-05/0.9917, allocations: 72.97 kB / 1.113 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.9918, allocations: 92.16 kB / 1.113 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.994, allocations: 1.014 MB / 1.114 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.9941, allocations: 4 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.9942, allocations: 40.7 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.9942, allocations: 24.34 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.9967, allocations: 1.172 MB / 1.115 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/1.002, allocations: 2.657 MB / 1.118 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/1.003, allocations: 0.9066 MB / 1.118 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/1.004, allocations: 315.5 kB / 1.119 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/1.005, allocations: 473.1 kB / 1.119 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008812/1.006, allocations: 0.5 MB / 1.12 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/1.006, allocations: 0 / 1.12 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003222/1.009, allocations: 1.225 MB / 1.121 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.009, allocations: 201 kB / 1.121 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009343/1.01, allocations: 0.6448 MB / 1.122 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/1.01, allocations: 41.33 kB / 1.122 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/1.01, allocations: 426.3 kB / 1.122 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/1.011, allocations: 264.8 kB / 1.122 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/1.011, allocations: 163.7 kB / 1.123 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.011, allocations: 384.1 kB / 1.123 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/1.012, allocations: 282.5 kB / 1.123 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/1.012, allocations: 372.8 kB / 1.124 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/1.014, allocations: 0.6189 MB / 1.124 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.014, allocations: 1.203 kB / 1.124 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002411/1.016, allocations: 0.8728 MB / 1.125 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.016, allocations: 11.53 kB / 1.125 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.016, allocations: 2.562 kB / 1.125 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/1.017, allocations: 82.72 kB / 1.125 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/1.018, allocations: 164.9 kB / 1.125 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.02, allocations: 1.639 MB / 1.127 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009118/1.021, allocations: 98.47 kB / 1.127 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.021, allocations: 40.48 kB / 1.127 GB, free: 14.19 MB / 0.8731 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 (96): * Single equations (assignments): 95 * 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.0006683/1.022, allocations: 273.2 kB / 1.127 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/1.022, allocations: 86.67 kB / 1.127 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/1.025, allocations: 1.093 MB / 1.128 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.025, allocations: 9.281 kB / 1.128 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.025, allocations: 4 kB / 1.128 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.025, allocations: 4.828 kB / 1.128 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/1.029, allocations: 2.01 MB / 1.13 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.029, allocations: 0 / 1.13 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/1.029, allocations: 149.5 kB / 1.131 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/1.03, allocations: 79.45 kB / 1.131 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/1.03, allocations: 24.2 kB / 1.131 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/1.032, allocations: 1.654 MB / 1.132 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.032, allocations: 0 / 1.132 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/1.034, allocations: 1.021 MB / 1.133 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/1.034, allocations: 275.6 kB / 1.134 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.035, allocations: 20.08 kB / 1.134 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/1.035, allocations: 74.47 kB / 1.134 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.036, allocations: 69.53 kB / 1.134 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/1.036, allocations: 37.42 kB / 1.134 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006879/1.036, allocations: 464.1 kB / 1.134 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/1.036, allocations: 0 / 1.134 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001202/1.038, allocations: 344.3 kB / 1.134 GB, free: 11.56 MB / 0.8731 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.001637/1.039, allocations: 0.6241 MB / 1.135 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001895/1.041, allocations: 0.8521 MB / 1.136 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.041, allocations: 0 / 1.136 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/1.042, allocations: 0.536 MB / 1.136 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.043, allocations: 286 kB / 1.137 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/1.048, allocations: 1.824 MB / 1.139 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/1.048, allocations: 1.043 MB / 1.14 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009705/1.049, allocations: 277.5 kB / 1.14 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/1.05, allocations: 107 kB / 1.14 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of SimCode: time 6.62e-07/1.05, allocations: 0 / 1.14 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of Templates: time 0.03221/1.082, allocations: 15.25 MB / 1.155 GB, free: 4.805 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches