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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001256/0.001257, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001242/0.001242, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.37/2.37, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6488, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005931/0.6548, allocations: 5.176 MB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1377/0.7925, allocations: 150.7 MB / 1.361 GB, free: 1.191 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007542/0.7933, allocations: 15.94 kB / 1.361 GB, free: 1.176 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.794, allocations: 198.1 kB / 1.361 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.7958, allocations: 0.5665 MB / 1.361 GB, free: 424 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.7977, allocations: 0.8672 MB / 1.362 GB, free: 15.55 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.7992, allocations: 1.467 MB / 1.364 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008851/0.8001, allocations: 0.6483 MB / 1.364 GB, free: 13.42 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008548/0.801, allocations: 0.5178 MB / 1.365 GB, free: 12.9 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006919/0.8017, allocations: 0.5523 MB / 1.365 GB, free: 12.34 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.8019, allocations: 128 kB / 1.365 GB, free: 12.22 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009043/0.8028, allocations: 0.5113 MB / 1.366 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.8031, allocations: 311 kB / 1.366 GB, free: 11.4 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005574/0.8036, allocations: 0.6141 MB / 1.367 GB, free: 10.79 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.8054, allocations: 1.746 MB / 1.369 GB, free: 9.035 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8054, allocations: 0 / 1.369 GB, free: 9.035 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8054, allocations: 0 / 1.369 GB, free: 9.035 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.933e-05/0.8055, allocations: 0 / 1.369 GB, free: 9.035 MB / 1.092 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.002531/0.808, allocations: 1.508 MB / 1.37 GB, free: 7.469 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.808, allocations: 8.031 kB / 1.37 GB, free: 7.461 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.8091, allocations: 219.2 kB / 1.37 GB, free: 7.246 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.8101, allocations: 0.7811 MB / 1.371 GB, free: 6.422 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.8102, allocations: 74 kB / 1.371 GB, free: 6.348 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.8103, allocations: 91.98 kB / 1.371 GB, free: 6.258 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.812, allocations: 1.012 MB / 1.372 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.812, allocations: 0 / 1.372 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.8121, allocations: 44 kB / 1.372 GB, free: 5.164 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.8122, allocations: 20 kB / 1.372 GB, free: 5.145 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.814, allocations: 1.182 MB / 1.373 GB, free: 3.961 MB / 1.092 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.003891/0.8179, allocations: 2.93 MB / 1.376 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.8194, allocations: 0.9073 MB / 1.377 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/0.82, allocations: 326.6 kB / 1.377 GB, free: 15.65 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/0.8206, allocations: 474.1 kB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/0.8214, allocations: 0.503 MB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 1.883e-06/0.8214, allocations: 0 / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003054/0.8245, allocations: 1.233 MB / 1.38 GB, free: 13.31 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.8246, allocations: 188.6 kB / 1.38 GB, free: 13.08 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/0.8253, allocations: 0.6411 MB / 1.38 GB, free: 12.43 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.8253, allocations: 45.7 kB / 1.38 GB, free: 12.38 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.8256, allocations: 424.2 kB / 1.381 GB, free: 11.96 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.8258, allocations: 272.2 kB / 1.381 GB, free: 11.69 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.8261, allocations: 162.5 kB / 1.381 GB, free: 11.52 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8262, allocations: 390.7 kB / 1.382 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.8268, allocations: 273.8 kB / 1.382 GB, free: 10.86 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.8274, allocations: 379.1 kB / 1.382 GB, free: 10.48 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.8285, allocations: 0.6268 MB / 1.383 GB, free: 9.844 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8285, allocations: 0 / 1.383 GB, free: 9.844 MB / 1.107 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001873/0.8304, allocations: 0.8799 MB / 1.384 GB, free: 8.949 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.8304, allocations: 8 kB / 1.384 GB, free: 8.941 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8305, allocations: 3.984 kB / 1.384 GB, free: 8.938 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/0.831, allocations: 80.88 kB / 1.384 GB, free: 8.855 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.8317, allocations: 167.7 kB / 1.384 GB, free: 8.691 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.8336, allocations: 1.628 MB / 1.386 GB, free: 6.922 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.8343, allocations: 103.2 kB / 1.386 GB, free: 6.82 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.8344, allocations: 39.97 kB / 1.386 GB, free: 6.781 MB / 1.107 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.0003645/0.8347, allocations: 267.6 kB / 1.386 GB, free: 6.512 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.8349, allocations: 86.95 kB / 1.386 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.8372, allocations: 1.105 MB / 1.387 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.8372, allocations: 8 kB / 1.387 GB, free: 5.297 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.8372, allocations: 4 kB / 1.387 GB, free: 5.293 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.8372, allocations: 7.969 kB / 1.387 GB, free: 5.285 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.8401, allocations: 2.003 MB / 1.389 GB, free: 3.223 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.8402, allocations: 0 / 1.389 GB, free: 3.223 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.8407, allocations: 159.7 kB / 1.389 GB, free: 3.066 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/0.8411, allocations: 68.8 kB / 1.389 GB, free: 2.996 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.8412, allocations: 27.97 kB / 1.389 GB, free: 2.969 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.8428, allocations: 1.65 MB / 1.391 GB, free: 1.176 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8429, allocations: 8.047 kB / 1.391 GB, free: 1.168 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.8447, allocations: 1.017 MB / 1.392 GB, free: 132 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.8451, allocations: 283.8 kB / 1.392 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.8452, allocations: 16 kB / 1.392 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.8458, allocations: 67.92 kB / 1.392 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.846, allocations: 68.91 kB / 1.392 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.624e-05/0.8461, allocations: 43.97 kB / 1.392 GB, free: 15.64 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004868/0.8466, allocations: 467 kB / 1.393 GB, free: 15.19 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8466, allocations: 0 / 1.393 GB, free: 15.19 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007974/0.8474, allocations: 359.1 kB / 1.393 GB, free: 14.84 MB / 1.123 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.001269/0.8486, allocations: 0.6212 MB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.8502, allocations: 0.8509 MB / 1.395 GB, free: 13.53 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8503, allocations: 4 kB / 1.395 GB, free: 13.52 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000924/0.8512, allocations: 0.5314 MB / 1.395 GB, free: 12.98 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.8524, allocations: 299 kB / 1.395 GB, free: 12.71 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.855, allocations: 1.764 MB / 1.397 GB, free: 10.91 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.8556, allocations: 1.039 MB / 1.398 GB, free: 9.84 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.8559, allocations: 119.4 kB / 1.398 GB, free: 9.727 MB / 1.123 GB Notification: Performance of SimCode: time 3.61e-07/0.8559, allocations: 4 kB / 1.398 GB, free: 9.723 MB / 1.123 GB Notification: Performance of Templates: time 0.02179/0.8777, allocations: 19.63 MB / 1.417 GB, free: 6.164 MB / 1.139 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/jenkins1/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