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.00179/0.001798, allocations: 105.8 kB / 15.98 MB, free: 6.348 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.002041/0.002041, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 482.4 MB / 0.755 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 66.61 kB / 0.924 GB, free: 360 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8206, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006623/0.8272, allocations: 5.169 MB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1921/1.019, allocations: 148.5 MB / 1.232 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/1.021, allocations: 15.88 kB / 1.232 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/1.021, allocations: 154.8 kB / 1.233 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/1.024, allocations: 0.4929 MB / 1.233 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/1.026, allocations: 0.7708 MB / 1.234 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001928/1.028, allocations: 1.444 MB / 1.235 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/1.029, allocations: 0.653 MB / 1.236 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008958/1.03, allocations: 0.5255 MB / 1.236 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006784/1.031, allocations: 0.5445 MB / 1.237 GB, free: 336 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/1.031, allocations: 124 kB / 1.237 GB, free: 212 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/1.032, allocations: 499.7 kB / 1.238 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/1.032, allocations: 310.9 kB / 1.238 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006445/1.033, allocations: 0.6102 MB / 1.238 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/1.035, allocations: 1.31 MB / 1.24 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.035, allocations: 3.938 kB / 1.24 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.933e-06/1.035, allocations: 4 kB / 1.24 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.035, allocations: 0 / 1.24 GB, free: 13.48 MB / 0.9669 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.002927/1.038, allocations: 1.5 MB / 1.241 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.038, allocations: 8.031 kB / 1.241 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.039, allocations: 219.2 kB / 1.241 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/1.04, allocations: 0.7577 MB / 1.242 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/1.04, allocations: 74 kB / 1.242 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.04, allocations: 91.98 kB / 1.242 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/1.042, allocations: 1.012 MB / 1.243 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.042, allocations: 0 / 1.243 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.815e-05/1.042, allocations: 48 kB / 1.243 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/1.042, allocations: 24 kB / 1.243 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/1.044, allocations: 1.175 MB / 1.245 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/1.049, allocations: 3.061 MB / 1.248 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/1.051, allocations: 0.9079 MB / 1.248 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/1.052, allocations: 326.6 kB / 1.249 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007373/1.053, allocations: 470.1 kB / 1.249 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/1.054, allocations: 0.5065 MB / 1.25 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/1.054, allocations: 0 / 1.25 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.003632/1.057, allocations: 1.24 MB / 1.251 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.057, allocations: 192.6 kB / 1.251 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009698/1.058, allocations: 0.6372 MB / 1.252 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/1.059, allocations: 45.69 kB / 1.252 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/1.059, allocations: 424.2 kB / 1.252 GB, free: 292 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/1.059, allocations: 264.2 kB / 1.252 GB, free: 24 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/1.06, allocations: 166.5 kB / 1.253 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002188/1.06, allocations: 390.7 kB / 1.253 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/1.06, allocations: 277.8 kB / 1.253 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/1.061, allocations: 379.1 kB / 1.254 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/1.062, allocations: 0.6229 MB / 1.254 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.062, allocations: 4 kB / 1.254 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002203/1.065, allocations: 0.876 MB / 1.255 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.065, allocations: 8 kB / 1.255 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.065, allocations: 0 / 1.255 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000652/1.065, allocations: 84.86 kB / 1.255 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/1.066, allocations: 163.8 kB / 1.255 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/1.069, allocations: 1.638 MB / 1.257 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/1.07, allocations: 107.2 kB / 1.257 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/1.07, allocations: 39.97 kB / 1.257 GB, free: 11.1 MB / 0.9825 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.0005445/1.07, allocations: 267.4 kB / 1.257 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/1.07, allocations: 82.97 kB / 1.257 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/1.073, allocations: 1.105 MB / 1.258 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.073, allocations: 8 kB / 1.258 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/1.073, allocations: 3.938 kB / 1.258 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.073, allocations: 3.984 kB / 1.258 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/1.077, allocations: 2.005 MB / 1.26 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.077, allocations: 4 kB / 1.26 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/1.077, allocations: 147.8 kB / 1.261 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/1.078, allocations: 72.78 kB / 1.261 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/1.078, allocations: 27.98 kB / 1.261 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.08, allocations: 1.662 MB / 1.262 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.08, allocations: 0 / 1.262 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/1.083, allocations: 1.016 MB / 1.263 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/1.083, allocations: 279.7 kB / 1.263 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/1.083, allocations: 20 kB / 1.264 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007151/1.084, allocations: 68.06 kB / 1.264 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.084, allocations: 76.88 kB / 1.264 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/1.084, allocations: 39.92 kB / 1.264 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006551/1.085, allocations: 467 kB / 1.264 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.085, allocations: 0 / 1.264 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001033/1.086, allocations: 363.1 kB / 1.264 GB, free: 3.16 MB / 0.9825 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.002042/1.088, allocations: 0.6122 MB / 1.265 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002659/1.091, allocations: 1.062 MB / 1.266 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.091, allocations: 0 / 1.266 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/1.092, allocations: 0.5352 MB / 1.267 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.093, allocations: 309.4 kB / 1.267 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/1.097, allocations: 2.22 MB / 1.269 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/1.097, allocations: 1.046 MB / 1.27 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.098, allocations: 119.3 kB / 1.27 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.098, allocations: 0 / 1.27 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of Templates: time 0.02892/1.127, allocations: 19.54 MB / 1.289 GB, free: 9.926 MB / 1.014 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=400 -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