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.001801/0.001801, allocations: 108 kB / 15.6 MB, free: 132 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.00196/0.00196, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.85/1.85, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.331/2.331, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.715, allocations: 140.4 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00712/0.7222, allocations: 4.415 MB / 0.9539 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1797/0.902, allocations: 150.6 MB / 1.101 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.9034, allocations: 19.88 kB / 1.101 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006244/0.904, allocations: 170.4 kB / 1.101 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.906, allocations: 0.5044 MB / 1.102 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.9081, allocations: 0.8531 MB / 1.103 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.9096, allocations: 1.316 MB / 1.104 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009977/0.9106, allocations: 0.7063 MB / 1.104 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006672/0.9113, allocations: 0.4943 MB / 1.105 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.9118, allocations: 0.525 MB / 1.105 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.912, allocations: 124 kB / 1.106 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009543/0.913, allocations: 499.6 kB / 1.106 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.9133, allocations: 315 kB / 1.106 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.9138, allocations: 0.5829 MB / 1.107 GB, free: 80 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.9156, allocations: 1.671 MB / 1.109 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9156, allocations: 0 / 1.109 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9156, allocations: 0 / 1.109 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9156, allocations: 0 / 1.109 GB, free: 14.4 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00239/0.918, allocations: 1.481 MB / 1.11 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.918, allocations: 12.03 kB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.9191, allocations: 211.3 kB / 1.11 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009892/0.9201, allocations: 0.7655 MB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.9202, allocations: 70 kB / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.9203, allocations: 95.98 kB / 1.111 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.922, allocations: 1.016 MB / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.922, allocations: 0 / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/0.9221, allocations: 40 kB / 1.112 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.9221, allocations: 24 kB / 1.112 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.924, allocations: 1.175 MB / 1.113 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004036/0.9281, allocations: 2.698 MB / 1.116 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.9298, allocations: 0.9107 MB / 1.117 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.9303, allocations: 318.7 kB / 1.117 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/0.931, allocations: 474.1 kB / 1.118 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.9321, allocations: 0.5029 MB / 1.118 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.9321, allocations: 0 / 1.118 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003492/0.9356, allocations: 1.229 MB / 1.119 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.9357, allocations: 188.6 kB / 1.119 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.9366, allocations: 0.6411 MB / 1.12 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.9367, allocations: 41.7 kB / 1.12 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.9371, allocations: 428.2 kB / 1.121 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.9374, allocations: 276.1 kB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.9377, allocations: 162.5 kB / 1.121 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.9379, allocations: 390.7 kB / 1.121 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.9384, allocations: 269.8 kB / 1.122 GB, free: 0.5938 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.9391, allocations: 379.1 kB / 1.122 GB, free: 212 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.9404, allocations: 0.6229 MB / 1.123 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.9404, allocations: 0 / 1.123 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002094/0.9425, allocations: 0.8721 MB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.9425, allocations: 4 kB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9426, allocations: 0 / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.9432, allocations: 84.86 kB / 1.124 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.9439, allocations: 167.8 kB / 1.124 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.9461, allocations: 1.63 MB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.9469, allocations: 103.2 kB / 1.125 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.947, allocations: 35.97 kB / 1.125 GB, free: 12.52 MB / 0.8887 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.0005132/0.9475, allocations: 271.5 kB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.9477, allocations: 82.97 kB / 1.126 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.9502, allocations: 1.097 MB / 1.127 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.9502, allocations: 8 kB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.9502, allocations: 4 kB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.9503, allocations: 3.984 kB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.9537, allocations: 2.017 MB / 1.129 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9537, allocations: 0 / 1.129 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/0.9543, allocations: 143.8 kB / 1.129 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/0.9548, allocations: 84.66 kB / 1.129 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.9549, allocations: 27.97 kB / 1.129 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.9569, allocations: 1.658 MB / 1.131 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9569, allocations: 0 / 1.131 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.959, allocations: 1.019 MB / 1.132 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.9594, allocations: 275.7 kB / 1.132 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.9595, allocations: 19.98 kB / 1.132 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.9602, allocations: 69.44 kB / 1.132 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.9604, allocations: 72.89 kB / 1.132 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.9605, allocations: 35.92 kB / 1.132 GB, free: 5.387 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000622/0.9611, allocations: 471 kB / 1.133 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9611, allocations: 4 kB / 1.133 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009939/0.9621, allocations: 343 kB / 1.133 GB, free: 4.59 MB / 0.8887 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.001507/0.9636, allocations: 0.6154 MB / 1.133 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.9661, allocations: 1.058 MB / 1.135 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9661, allocations: 4 kB / 1.135 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009489/0.9671, allocations: 0.5237 MB / 1.135 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.9684, allocations: 292.8 kB / 1.135 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.9724, allocations: 1.865 MB / 1.137 GB, free: 388 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.973, allocations: 1.047 MB / 1.138 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009184/0.974, allocations: 266.7 kB / 1.138 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.9742, allocations: 103.4 kB / 1.139 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/0.9742, allocations: 0 / 1.139 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.02559/0.9998, allocations: 15.25 MB / 1.153 GB, free: 15.85 MB / 0.92 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/jenkins/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