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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00145/0.00145, allocations: 107.7 kB / 15.99 MB, free: 5.91 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.001711/0.001711, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.84 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2791, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006512/0.2857, allocations: 4.442 MB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7118/0.9976, allocations: 148.4 MB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008933/0.9985, allocations: 16.41 kB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005653/0.9991, allocations: 137.8 kB / 1.099 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/1.001, allocations: 458 kB / 1.1 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/1.003, allocations: 0.7652 MB / 1.1 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002135/1.005, allocations: 1.328 MB / 1.102 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/1.007, allocations: 0.6932 MB / 1.102 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/1.008, allocations: 0.5025 MB / 1.103 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008099/1.009, allocations: 0.5298 MB / 1.103 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002238/1.009, allocations: 125.2 kB / 1.103 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/1.01, allocations: 487.3 kB / 1.104 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/1.01, allocations: 315.1 kB / 1.104 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006534/1.011, allocations: 0.5835 MB / 1.105 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/1.013, allocations: 1.28 MB / 1.106 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.013, allocations: 3.562 kB / 1.106 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/1.013, allocations: 0 / 1.106 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.879e-05/1.013, allocations: 5.844 kB / 1.106 GB, free: 5.008 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.003245/1.016, allocations: 1.479 MB / 1.108 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.016, allocations: 8.844 kB / 1.108 GB, free: 20.21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/1.018, allocations: 219 kB / 1.108 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.019, allocations: 0.7626 MB / 1.108 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/1.019, allocations: 69.53 kB / 1.109 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/1.019, allocations: 92.69 kB / 1.109 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/1.021, allocations: 1.014 MB / 1.11 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/1.021, allocations: 0 / 1.11 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/1.021, allocations: 37.3 kB / 1.11 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/1.021, allocations: 28.09 kB / 1.11 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/1.024, allocations: 1.176 MB / 1.111 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/1.028, allocations: 2.704 MB / 1.113 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.03, allocations: 0.9126 MB / 1.114 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/1.031, allocations: 316.2 kB / 1.115 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/1.031, allocations: 476 kB / 1.115 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/1.033, allocations: 0.4926 MB / 1.116 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.274e-06/1.033, allocations: 0 / 1.116 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003407/1.036, allocations: 1.233 MB / 1.117 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.036, allocations: 193.8 kB / 1.117 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/1.037, allocations: 0.6421 MB / 1.118 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.463e-05/1.037, allocations: 47.44 kB / 1.118 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/1.037, allocations: 419.4 kB / 1.118 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/1.038, allocations: 269.8 kB / 1.118 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/1.038, allocations: 163.1 kB / 1.118 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.038, allocations: 390.1 kB / 1.119 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/1.039, allocations: 276.7 kB / 1.119 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/1.039, allocations: 371.2 kB / 1.119 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.041, allocations: 0.625 MB / 1.12 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.041, allocations: 0 / 1.12 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002099/1.043, allocations: 0.8721 MB / 1.121 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.043, allocations: 10.91 kB / 1.121 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.043, allocations: 3.812 kB / 1.121 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/1.043, allocations: 82.06 kB / 1.121 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/1.044, allocations: 169.2 kB / 1.121 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/1.046, allocations: 1.627 MB / 1.123 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009292/1.047, allocations: 100.8 kB / 1.123 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/1.047, allocations: 42.8 kB / 1.123 GB, free: 15.08 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.000678/1.048, allocations: 268 kB / 1.123 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/1.048, allocations: 83.41 kB / 1.123 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002715/1.051, allocations: 1.105 MB / 1.124 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.051, allocations: 10.06 kB / 1.124 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.051, allocations: 0 / 1.124 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.051, allocations: 5.25 kB / 1.124 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00506/1.056, allocations: 2.005 MB / 1.126 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.056, allocations: 1 kB / 1.126 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/1.057, allocations: 153.4 kB / 1.126 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/1.057, allocations: 73.89 kB / 1.126 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/1.057, allocations: 25.19 kB / 1.127 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.059, allocations: 1.66 MB / 1.128 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.059, allocations: 5.375 kB / 1.128 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/1.062, allocations: 1.02 MB / 1.129 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006444/1.063, allocations: 279.4 kB / 1.129 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/1.063, allocations: 16.59 kB / 1.129 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008577/1.064, allocations: 68.16 kB / 1.129 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/1.064, allocations: 72.94 kB / 1.13 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.064, allocations: 36.12 kB / 1.13 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008523/1.065, allocations: 466.7 kB / 1.13 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.01e-07/1.065, allocations: 1.406 kB / 1.13 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001513/1.066, allocations: 338.5 kB / 1.13 GB, free: 12.45 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.001732/1.068, allocations: 0.6229 MB / 1.131 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002819/1.071, allocations: 1.052 MB / 1.132 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.071, allocations: 4 kB / 1.132 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.072, allocations: 0.5239 MB / 1.133 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/1.074, allocations: 294.1 kB / 1.133 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/1.079, allocations: 2.336 MB / 1.135 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009712/1.08, allocations: 1.042 MB / 1.136 GB, free: 10 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/1.081, allocations: 116.8 kB / 1.136 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of SimCode: time 1.052e-06/1.081, allocations: 4 kB / 1.136 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of Templates: time 0.0382/1.119, allocations: 19.3 MB / 1.155 GB, free: 3.77 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 -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