Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001636/0.001636, allocations: 110.9 kB / 16.42 MB, free: 6.512 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.001912/0.001912, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7077, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007235/0.715, allocations: 4.424 MB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.8922, allocations: 150.6 MB / 1.24 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.8933, allocations: 15.81 kB / 1.24 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.894, allocations: 180.5 kB / 1.24 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.8961, allocations: 0.5039 MB / 1.241 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.8983, allocations: 0.8447 MB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.9, allocations: 1.338 MB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.9011, allocations: 0.713 MB / 1.243 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.9019, allocations: 0.5036 MB / 1.244 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.9027, allocations: 0.5296 MB / 1.245 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.903, allocations: 128.6 kB / 1.245 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.904, allocations: 0.4956 MB / 1.245 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.9044, allocations: 323 kB / 1.245 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.905, allocations: 0.5829 MB / 1.246 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.907, allocations: 1.711 MB / 1.248 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.907, allocations: 0 / 1.248 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.907, allocations: 0 / 1.248 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.569e-05/0.907, allocations: 0 / 1.248 GB, free: 10.83 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.002829/0.9099, allocations: 1.492 MB / 1.249 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.9099, allocations: 12.03 kB / 1.249 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.9117, allocations: 299.2 kB / 1.249 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.9129, allocations: 0.7889 MB / 1.25 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.913, allocations: 74 kB / 1.25 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.9132, allocations: 88 kB / 1.25 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.9152, allocations: 1.078 MB / 1.251 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.9153, allocations: 0 / 1.251 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-05/0.9154, allocations: 36 kB / 1.251 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.9154, allocations: 24 kB / 1.251 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.9178, allocations: 1.272 MB / 1.253 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/0.9223, allocations: 2.68 MB / 1.255 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.9249, allocations: 1.026 MB / 1.256 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008032/0.9257, allocations: 362.6 kB / 1.257 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.907e-05/0.9258, allocations: 32.61 kB / 1.257 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.9269, allocations: 0.5606 MB / 1.257 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/0.927, allocations: 4 kB / 1.257 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003904/0.9309, allocations: 1.376 MB / 1.259 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/0.931, allocations: 196.9 kB / 1.259 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000892/0.9319, allocations: 0.6371 MB / 1.259 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-05/0.932, allocations: 41.7 kB / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.9324, allocations: 436.2 kB / 1.26 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.9327, allocations: 272.1 kB / 1.26 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.933, allocations: 166.5 kB / 1.26 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.9332, allocations: 390.7 kB / 1.261 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008568/0.9341, allocations: 321.8 kB / 1.261 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009907/0.9351, allocations: 423 kB / 1.261 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.9368, allocations: 0.7062 MB / 1.262 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9368, allocations: 4 kB / 1.262 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002478/0.9393, allocations: 0.9619 MB / 1.263 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.9394, allocations: 8 kB / 1.263 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.9394, allocations: 7.922 kB / 1.263 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.94, allocations: 84.81 kB / 1.263 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.9408, allocations: 187.8 kB / 1.263 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.9429, allocations: 1.625 MB / 1.265 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008485/0.9438, allocations: 107.4 kB / 1.265 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.9438, allocations: 43.91 kB / 1.265 GB, free: 8.543 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.0004109/0.9443, allocations: 284.2 kB / 1.265 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.9444, allocations: 82.97 kB / 1.265 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.9474, allocations: 1.206 MB / 1.267 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.9474, allocations: 3.984 kB / 1.267 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9474, allocations: 4 kB / 1.267 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/0.9479, allocations: 275.7 kB / 1.267 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.948, allocations: 16 kB / 1.267 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.9488, allocations: 83.91 kB / 1.267 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.9489, allocations: 76.89 kB / 1.267 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002732/0.9517, allocations: 1.1 MB / 1.268 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00303/0.9547, allocations: 1.59 MB / 1.27 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008295/0.9556, allocations: 415.8 kB / 1.27 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005495/0.9561, allocations: 467 kB / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of Backend: time 5.91e-07/0.9561, allocations: 0 / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003465/0.9596, allocations: 1.331 MB / 1.272 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003096/0.9627, allocations: 2.124 MB / 1.274 GB, free: 15.64 MB / 1.014 GB Notification: Performance of Templates: time 0.02757/0.9903, allocations: 17.14 MB / 1.291 GB, free: 14.67 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches