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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01126/0.01126, allocations: 103 kB / 15.73 MB, free: 6.035 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.00248/0.00248, allocations: 190 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.485/2.485, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.661/2.661, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 66.86 kB / 0.9504 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.491, allocations: 140.4 MB / 1.087 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.01192/0.503, allocations: 4.419 MB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2864/0.7895, allocations: 150.6 MB / 1.239 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.7911, allocations: 15.94 kB / 1.239 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.7924, allocations: 174.3 kB / 1.239 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.7961, allocations: 0.5083 MB / 1.24 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004764/0.8008, allocations: 0.8557 MB / 1.24 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00296/0.8038, allocations: 1.328 MB / 1.242 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.8059, allocations: 0.7024 MB / 1.242 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.8073, allocations: 0.5021 MB / 1.243 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.8087, allocations: 0.525 MB / 1.243 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005268/0.8093, allocations: 124 kB / 1.243 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.8116, allocations: 0.5074 MB / 1.244 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007138/0.8123, allocations: 322.9 kB / 1.244 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.8138, allocations: 0.579 MB / 1.245 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.8182, allocations: 1.714 MB / 1.247 GB, free: 14.51 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.8183, allocations: 0 / 1.247 GB, free: 14.51 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8183, allocations: 8 kB / 1.247 GB, free: 14.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.339e-05/0.8184, allocations: 3.938 kB / 1.247 GB, free: 14.5 MB / 1.014 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.006031/0.8244, allocations: 1.49 MB / 1.248 GB, free: 12.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/0.8245, allocations: 8.031 kB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000457/0.825, allocations: 148.2 kB / 1.248 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.8271, allocations: 219.2 kB / 1.248 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.8297, allocations: 0.7848 MB / 1.249 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.8298, allocations: 74 kB / 1.249 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.8301, allocations: 92 kB / 1.249 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/0.8335, allocations: 1.016 MB / 1.25 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.8336, allocations: 0 / 1.25 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.8337, allocations: 40 kB / 1.25 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.8338, allocations: 24 kB / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/0.8372, allocations: 1.171 MB / 1.251 GB, free: 9.301 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00785/0.8451, allocations: 2.671 MB / 1.254 GB, free: 6.562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/0.8483, allocations: 0.9121 MB / 1.255 GB, free: 5.633 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.8493, allocations: 310.7 kB / 1.255 GB, free: 5.324 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.8504, allocations: 470.1 kB / 1.256 GB, free: 4.773 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.852, allocations: 0.503 MB / 1.256 GB, free: 4.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 6.632e-06/0.852, allocations: 0 / 1.256 GB, free: 4.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.005412/0.8574, allocations: 1.233 MB / 1.257 GB, free: 2.992 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.8576, allocations: 188.6 kB / 1.258 GB, free: 2.766 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.8595, allocations: 0.6527 MB / 1.258 GB, free: 2.105 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.8596, allocations: 41.7 kB / 1.258 GB, free: 2.059 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005381/0.8602, allocations: 428.2 kB / 1.259 GB, free: 1.633 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.8606, allocations: 264.2 kB / 1.259 GB, free: 1.371 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.861, allocations: 146.5 kB / 1.259 GB, free: 1.219 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002447/0.8613, allocations: 386.7 kB / 1.259 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009486/0.8622, allocations: 257.9 kB / 1.26 GB, free: 0.582 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.8634, allocations: 370.5 kB / 1.26 GB, free: 196 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8789/1.742, allocations: 0.5923 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/1.742, allocations: 0.8125 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004744/1.747, allocations: 0.8247 MB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/1.747, allocations: 7.969 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.747, allocations: 0.8438 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.748, allocations: 82.94 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.75, allocations: 158.5 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/1.753, allocations: 1.625 MB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.755, allocations: 91.2 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/1.755, allocations: 31.42 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (88): * Single equations (assignments): 87 * 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.0009114/1.756, allocations: 284.9 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/1.756, allocations: 83.12 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/1.761, allocations: 1.091 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.761, allocations: 9.312 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.761, allocations: 4.656 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/1.761, allocations: 7.438 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007465/1.769, allocations: 2.017 MB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/1.769, allocations: 5.812 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.77, allocations: 149.5 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007393/1.771, allocations: 76.55 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.771, allocations: 30.33 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/1.774, allocations: 1.649 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.774, allocations: 1.422 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/1.778, allocations: 1.032 MB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.779, allocations: 278.5 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/1.78, allocations: 18.33 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.781, allocations: 67.12 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/1.782, allocations: 76.12 kB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.782, allocations: 34.03 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001492/1.783, allocations: 471.7 kB / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.41e-07/1.783, allocations: 0 / 1.271 GB, free: 168.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002509/1.786, allocations: 336.3 kB / 1.271 GB, free: 168.2 MB / 1.014 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.007329/1.793, allocations: 2.076 MB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004068/1.797, allocations: 0.8247 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.797, allocations: 0.5625 kB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/1.8, allocations: 0.5318 MB / 1.274 GB, free: 166.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/1.803, allocations: 302.1 kB / 1.275 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/1.83, allocations: 6.502 MB / 1.281 GB, free: 163.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/1.831, allocations: 1.043 MB / 1.282 GB, free: 162.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002022/1.833, allocations: 268.4 kB / 1.282 GB, free: 162.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.835, allocations: 404.6 kB / 1.283 GB, free: 162.1 MB / 1.014 GB Notification: Performance of SimCode: time 1.433e-06/1.835, allocations: 0 / 1.283 GB, free: 162.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/1.974, allocations: 22.34 MB / 1.304 GB, free: 154.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.75/21.72, allocations: 15.75 kB / 1.304 GB, free: 154.4 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > 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