Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.01083/0.01083, allocations: 97.27 kB / 15.73 MB, free: 5.602 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.001969/0.001969, allocations: 193 kB / 16.68 MB, free: 5.523 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.681/2.681, allocations: 472.7 MB / 0.7453 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8296/0.8308, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006792/0.8377, allocations: 5.161 MB / 1.231 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.9942, allocations: 150.7 MB / 1.378 GB, free: 1.035 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008663/0.9951, allocations: 19.88 kB / 1.378 GB, free: 1.016 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007743/0.9958, allocations: 198.1 kB / 1.378 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.9979, allocations: 0.5662 MB / 1.379 GB, free: 260 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/1, allocations: 0.8698 MB / 1.379 GB, free: 15.39 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001896/1.002, allocations: 1.456 MB / 1.381 GB, free: 13.93 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/1.003, allocations: 0.6639 MB / 1.382 GB, free: 13.25 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008992/1.004, allocations: 0.51 MB / 1.382 GB, free: 12.73 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008586/1.005, allocations: 0.5484 MB / 1.383 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003093/1.005, allocations: 124 kB / 1.383 GB, free: 12.06 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/1.007, allocations: 0.5073 MB / 1.383 GB, free: 11.55 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004144/1.007, allocations: 323 kB / 1.383 GB, free: 11.24 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007722/1.008, allocations: 0.6063 MB / 1.384 GB, free: 10.63 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/1.01, allocations: 1.76 MB / 1.386 GB, free: 8.863 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.01, allocations: 0 / 1.386 GB, free: 8.863 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.483e-06/1.01, allocations: 0 / 1.386 GB, free: 8.863 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.465e-05/1.01, allocations: 0 / 1.386 GB, free: 8.863 MB / 1.107 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.002551/1.013, allocations: 1.549 MB / 1.387 GB, free: 7.258 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.013, allocations: 12.03 kB / 1.387 GB, free: 7.246 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/1.014, allocations: 224 kB / 1.388 GB, free: 7.027 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/1.015, allocations: 0.7817 MB / 1.388 GB, free: 6.199 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/1.015, allocations: 70 kB / 1.388 GB, free: 6.133 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/1.015, allocations: 92 kB / 1.388 GB, free: 6.043 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/1.017, allocations: 1.016 MB / 1.389 GB, free: 4.984 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/1.017, allocations: 4 kB / 1.389 GB, free: 4.98 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/1.017, allocations: 44 kB / 1.389 GB, free: 4.938 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.017, allocations: 24 kB / 1.39 GB, free: 4.914 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/1.019, allocations: 1.179 MB / 1.391 GB, free: 3.738 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/1.023, allocations: 2.935 MB / 1.394 GB, free: 0.6719 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.025, allocations: 0.9185 MB / 1.394 GB, free: 15.73 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/1.025, allocations: 310.7 kB / 1.395 GB, free: 15.42 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/1.026, allocations: 474.1 kB / 1.395 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008624/1.027, allocations: 0.5047 MB / 1.396 GB, free: 14.34 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.474e-06/1.027, allocations: 0 / 1.396 GB, free: 14.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003138/1.03, allocations: 1.237 MB / 1.397 GB, free: 13.08 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/1.03, allocations: 192.6 kB / 1.397 GB, free: 12.85 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/1.031, allocations: 0.6488 MB / 1.398 GB, free: 12.19 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/1.031, allocations: 45.7 kB / 1.398 GB, free: 12.14 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003779/1.031, allocations: 429 kB / 1.398 GB, free: 11.71 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/1.031, allocations: 277.7 kB / 1.398 GB, free: 11.44 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/1.032, allocations: 166.6 kB / 1.399 GB, free: 11.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.032, allocations: 390.8 kB / 1.399 GB, free: 10.88 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/1.033, allocations: 277.8 kB / 1.399 GB, free: 10.61 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/1.033, allocations: 379.1 kB / 1.4 GB, free: 10.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/1.034, allocations: 0.6228 MB / 1.4 GB, free: 9.594 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.034, allocations: 4 kB / 1.4 GB, free: 9.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001915/1.036, allocations: 0.8842 MB / 1.401 GB, free: 8.691 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.036, allocations: 5.094 kB / 1.401 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.036, allocations: 0 / 1.401 GB, free: 8.688 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/1.037, allocations: 88.84 kB / 1.401 GB, free: 8.598 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/1.038, allocations: 163.8 kB / 1.401 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.04, allocations: 1.623 MB / 1.403 GB, free: 6.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/1.04, allocations: 103.3 kB / 1.403 GB, free: 6.566 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/1.04, allocations: 40.05 kB / 1.403 GB, free: 6.527 MB / 1.123 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.0003869/1.041, allocations: 275.7 kB / 1.403 GB, free: 6.246 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.041, allocations: 95.42 kB / 1.403 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.043, allocations: 1.093 MB / 1.404 GB, free: 5.039 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/1.043, allocations: 12 kB / 1.404 GB, free: 5.027 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/1.043, allocations: 0 / 1.404 GB, free: 5.027 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.043, allocations: 3.984 kB / 1.404 GB, free: 5.023 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/1.047, allocations: 2.009 MB / 1.406 GB, free: 2.957 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.047, allocations: 0 / 1.406 GB, free: 2.957 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/1.047, allocations: 143.8 kB / 1.407 GB, free: 2.816 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/1.048, allocations: 76.78 kB / 1.407 GB, free: 2.738 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/1.048, allocations: 23.98 kB / 1.407 GB, free: 2.715 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/1.05, allocations: 1.674 MB / 1.408 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.05, allocations: 0 / 1.408 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/1.052, allocations: 1.022 MB / 1.409 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/1.052, allocations: 276.2 kB / 1.41 GB, free: 15.57 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/1.052, allocations: 27.94 kB / 1.41 GB, free: 15.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/1.053, allocations: 67.86 kB / 1.41 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.053, allocations: 72.89 kB / 1.41 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/1.053, allocations: 39.92 kB / 1.41 GB, free: 15.36 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005564/1.054, allocations: 463 kB / 1.41 GB, free: 14.91 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.054, allocations: 4 kB / 1.41 GB, free: 14.91 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009007/1.055, allocations: 359.1 kB / 1.411 GB, free: 14.56 MB / 1.139 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.0013/1.056, allocations: 0.6349 MB / 1.411 GB, free: 14.1 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00174/1.058, allocations: 0.8587 MB / 1.412 GB, free: 13.23 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.058, allocations: 4 kB / 1.412 GB, free: 13.22 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009238/1.059, allocations: 0.5275 MB / 1.412 GB, free: 12.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/1.06, allocations: 310.1 kB / 1.413 GB, free: 12.41 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/1.063, allocations: 1.75 MB / 1.415 GB, free: 10.63 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/1.063, allocations: 1.04 MB / 1.416 GB, free: 9.559 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007922/1.064, allocations: 270.7 kB / 1.416 GB, free: 9.289 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/1.064, allocations: 115.4 kB / 1.416 GB, free: 9.176 MB / 1.139 GB Notification: Performance of SimCode: time 6.51e-07/1.064, allocations: 0 / 1.416 GB, free: 9.176 MB / 1.139 GB Notification: Performance of Templates: time 0.02648/1.091, allocations: 15.92 MB / 1.431 GB, free: 9.445 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches