Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002475/0.002475, allocations: 197.4 kB / 16.26 MB, free: 6.629 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 62.81 kB / 0.9116 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2949, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006362/0.3013, allocations: 5.164 MB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.159/0.4604, allocations: 148.4 MB / 1.218 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.4616, allocations: 15.94 kB / 1.218 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.4623, allocations: 162.8 kB / 1.218 GB, free: 392 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.4644, allocations: 0.4967 MB / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.4667, allocations: 0.7728 MB / 1.219 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.4685, allocations: 1.456 MB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009711/0.4695, allocations: 0.6654 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.4702, allocations: 0.5139 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.4708, allocations: 0.5523 MB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.471, allocations: 128 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.4719, allocations: 475.6 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.4723, allocations: 319 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.4729, allocations: 0.6219 MB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.4748, allocations: 1.71 MB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4748, allocations: 0 / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4748, allocations: 0 / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.4748, allocations: 0 / 1.225 GB, free: 8.656 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00266/0.4775, allocations: 1.504 MB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4775, allocations: 8.031 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.4793, allocations: 307.2 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4804, allocations: 0.7616 MB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.4805, allocations: 74 kB / 1.228 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.4806, allocations: 95.98 kB / 1.228 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.4826, allocations: 1.074 MB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.4827, allocations: 0 / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.4828, allocations: 40 kB / 1.229 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.4828, allocations: 24 kB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.485, allocations: 1.272 MB / 1.23 GB, free: 3.375 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.004734/0.4898, allocations: 2.97 MB / 1.233 GB, free: 284 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.4924, allocations: 1.036 MB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007661/0.4932, allocations: 362.6 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.73e-05/0.4933, allocations: 32.61 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.4945, allocations: 0.5645 MB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.334e-06/0.4945, allocations: 3.938 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.004022/0.4985, allocations: 1.38 MB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.4986, allocations: 196.9 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.4995, allocations: 0.6371 MB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/0.4996, allocations: 41.7 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.5, allocations: 428.2 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.5002, allocations: 280 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.5005, allocations: 166.5 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5006, allocations: 386.8 kB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/0.5014, allocations: 333.7 kB / 1.239 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.5023, allocations: 419.1 kB / 1.239 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.5039, allocations: 0.714 MB / 1.24 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5039, allocations: 0 / 1.24 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002531/0.5065, allocations: 0.9659 MB / 1.241 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5065, allocations: 4 kB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5065, allocations: 0 / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/0.5072, allocations: 84.86 kB / 1.241 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/0.508, allocations: 191.7 kB / 1.241 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.5102, allocations: 1.638 MB / 1.243 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.5112, allocations: 125 kB / 1.243 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.792e-05/0.5113, allocations: 35.97 kB / 1.243 GB, free: 5.984 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 (98): * Single equations (assignments): 97 * 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.0005516/0.5119, allocations: 272.9 kB / 1.243 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.5121, allocations: 86.97 kB / 1.243 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/0.5152, allocations: 1.206 MB / 1.245 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.5152, allocations: 12 kB / 1.245 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5152, allocations: 0 / 1.245 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5152, allocations: 11.92 kB / 1.245 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.5194, allocations: 2.135 MB / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5194, allocations: 0 / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007372/0.5202, allocations: 179.8 kB / 1.247 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.5206, allocations: 68.78 kB / 1.247 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/0.5207, allocations: 27.98 kB / 1.247 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.5227, allocations: 1.662 MB / 1.249 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5227, allocations: 8.094 kB / 1.249 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6553/1.178, allocations: 1.106 MB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/1.179, allocations: 280.6 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.179, allocations: 24.98 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008921/1.18, allocations: 84.94 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/1.18, allocations: 76.84 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.18, allocations: 38.44 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008637/1.181, allocations: 465.3 kB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.181, allocations: 0 / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001379/1.182, allocations: 348 kB / 1.251 GB, free: 183.1 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 (97): * Single equations (assignments): 91 * 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.001629/1.184, allocations: 0.6039 MB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004619/1.188, allocations: 1.172 MB / 1.253 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.189, allocations: 0 / 1.253 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/1.19, allocations: 0.58 MB / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.192, allocations: 303.1 kB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/1.197, allocations: 2.267 MB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/1.198, allocations: 1.049 MB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001148/1.199, allocations: 284 kB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/1.199, allocations: 107.7 kB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.199, allocations: 0 / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03853/1.238, allocations: 15.79 MB / 1.273 GB, free: 178.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches