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.001348/0.001347, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001469/0.001469, allocations: 195 kB / 16.14 MB, free: 6.645 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.752/2.752, allocations: 472.7 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 68.42 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3422, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006695/0.349, allocations: 5.158 MB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1545/0.5035, allocations: 148.4 MB / 1.218 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009334/0.5044, allocations: 19.94 kB / 1.218 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.5051, allocations: 162.8 kB / 1.218 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.5072, allocations: 495.5 kB / 1.218 GB, free: 104 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.5093, allocations: 0.7426 MB / 1.219 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.5107, allocations: 1.35 MB / 1.22 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008631/0.5116, allocations: 0.6432 MB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007904/0.5124, allocations: 458.1 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.5131, allocations: 0.5094 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.5133, allocations: 68 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008742/0.5141, allocations: 431.6 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.5144, allocations: 259 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.5149, allocations: 0.5439 MB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.5165, allocations: 1.655 MB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5165, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5165, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.5165, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 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.00297/0.5195, allocations: 1.506 MB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5195, allocations: 16.03 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.5207, allocations: 211.2 kB / 1.226 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.5218, allocations: 0.7694 MB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.5219, allocations: 69.94 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.522, allocations: 99.94 kB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.5237, allocations: 1.016 MB / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.5237, allocations: 0 / 1.228 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.621e-05/0.5239, allocations: 36 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.5239, allocations: 24 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.5258, allocations: 1.175 MB / 1.229 GB, free: 4.383 MB / 0.9825 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.004377/0.5302, allocations: 2.953 MB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.532, allocations: 0.9147 MB / 1.233 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.5326, allocations: 318.7 kB / 1.234 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006771/0.5333, allocations: 466.2 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.5343, allocations: 0.5069 MB / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.828e-06/0.5343, allocations: 0 / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003384/0.5377, allocations: 1.24 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.5379, allocations: 192.6 kB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008485/0.5387, allocations: 0.645 MB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.5388, allocations: 45.7 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.5393, allocations: 424.2 kB / 1.237 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.5396, allocations: 264.2 kB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.5399, allocations: 162.5 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.5401, allocations: 386.8 kB / 1.238 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.5407, allocations: 281.8 kB / 1.238 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.5414, allocations: 371.1 kB / 1.238 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.5426, allocations: 0.6268 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5426, allocations: 8.062 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00213/0.5448, allocations: 0.876 MB / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5448, allocations: 4 kB / 1.24 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5448, allocations: 4.094 kB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.5455, allocations: 84.77 kB / 1.24 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/0.5462, allocations: 167.8 kB / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.5483, allocations: 1.525 MB / 1.242 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/0.5493, allocations: 107.3 kB / 1.242 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.5493, allocations: 35.97 kB / 1.242 GB, free: 7.293 MB / 0.9981 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.0005109/0.5499, allocations: 273.7 kB / 1.242 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.5501, allocations: 82.97 kB / 1.242 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/0.5528, allocations: 1.101 MB / 1.243 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.5528, allocations: 15.92 kB / 1.243 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5528, allocations: 4 kB / 1.243 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5528, allocations: 3.984 kB / 1.243 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.5564, allocations: 2.004 MB / 1.245 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5564, allocations: 0 / 1.245 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.557, allocations: 155.8 kB / 1.245 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005291/0.5576, allocations: 84.72 kB / 1.245 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-05/0.5577, allocations: 31.91 kB / 1.245 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.5596, allocations: 1.544 MB / 1.247 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5596, allocations: 8 kB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.5618, allocations: 1.015 MB / 1.248 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.5623, allocations: 279.7 kB / 1.248 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.5624, allocations: 20 kB / 1.248 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/0.5632, allocations: 73.89 kB / 1.248 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.5633, allocations: 68.89 kB / 1.248 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.5634, allocations: 35.98 kB / 1.248 GB, free: 248 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5053/1.069, allocations: 462.8 kB / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.069, allocations: 0 / 1.249 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001498/1.07, allocations: 355.5 kB / 1.249 GB, free: 183.2 MB / 0.9981 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.001607/1.072, allocations: 0.6218 MB / 1.25 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002264/1.074, allocations: 0.8526 MB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.074, allocations: 0.6875 kB / 1.251 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.075, allocations: 0.5326 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.077, allocations: 281.1 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/1.08, allocations: 2.178 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/1.081, allocations: 1.041 MB / 1.254 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00104/1.082, allocations: 274.8 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/1.082, allocations: 108.4 kB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.082, allocations: 0 / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of Templates: time 0.03301/1.116, allocations: 15.13 MB / 1.27 GB, free: 179.1 MB / 0.9981 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