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.01008/0.01008, allocations: 102 kB / 15.73 MB, free: 6 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.001669/0.001669, allocations: 193.9 kB / 16.68 MB, free: 5.922 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.469/2.469, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9408/0.9421, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006388/0.9485, allocations: 4.421 MB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1843/1.133, allocations: 150.6 MB / 1.239 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/1.134, allocations: 16.47 kB / 1.239 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005925/1.135, allocations: 176.1 kB / 1.239 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/1.136, allocations: 0.5035 MB / 1.24 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/1.138, allocations: 0.8422 MB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001402/1.14, allocations: 1.337 MB / 1.242 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009995/1.141, allocations: 0.7123 MB / 1.243 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007544/1.142, allocations: 0.505 MB / 1.243 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/1.142, allocations: 0.5291 MB / 1.244 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/1.142, allocations: 132.1 kB / 1.244 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/1.143, allocations: 0.4922 MB / 1.244 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/1.144, allocations: 326.9 kB / 1.245 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004859/1.144, allocations: 0.579 MB / 1.245 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/1.146, allocations: 1.715 MB / 1.247 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.146, allocations: 0 / 1.247 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/1.146, allocations: 0 / 1.247 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.31e-05/1.146, allocations: 0 / 1.247 GB, free: 10.81 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.0025/1.149, allocations: 1.488 MB / 1.248 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/1.149, allocations: 12.03 kB / 1.248 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/1.15, allocations: 299.2 kB / 1.249 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.151, allocations: 0.785 MB / 1.249 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/1.152, allocations: 74 kB / 1.25 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.152, allocations: 88 kB / 1.25 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/1.154, allocations: 1.077 MB / 1.251 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.154, allocations: 0 / 1.251 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/1.154, allocations: 36 kB / 1.251 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/1.154, allocations: 24 kB / 1.251 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/1.156, allocations: 1.276 MB / 1.252 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/1.161, allocations: 2.677 MB / 1.255 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/1.163, allocations: 1.028 MB / 1.256 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/1.164, allocations: 362.6 kB / 1.256 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/1.164, allocations: 36.59 kB / 1.256 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/1.165, allocations: 0.5528 MB / 1.257 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.655e-06/1.165, allocations: 4 kB / 1.257 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003874/1.169, allocations: 1.387 MB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/1.169, allocations: 192.9 kB / 1.258 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.17, allocations: 0.6371 MB / 1.259 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/1.171, allocations: 41.7 kB / 1.259 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/1.171, allocations: 424.2 kB / 1.259 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/1.171, allocations: 276.1 kB / 1.259 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/1.172, allocations: 166.5 kB / 1.26 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.172, allocations: 386.8 kB / 1.26 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/1.172, allocations: 321.8 kB / 1.26 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/1.173, allocations: 427 kB / 1.261 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/1.175, allocations: 0.7062 MB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.175, allocations: 4 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00241/1.177, allocations: 0.9619 MB / 1.262 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.178, allocations: 8 kB / 1.262 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.178, allocations: 3.938 kB / 1.262 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/1.178, allocations: 84.86 kB / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/1.179, allocations: 191.7 kB / 1.263 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.181, allocations: 1.622 MB / 1.264 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/1.182, allocations: 111.4 kB / 1.264 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/1.182, allocations: 39.97 kB / 1.264 GB, free: 8.531 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.0005159/1.183, allocations: 287.5 kB / 1.265 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/1.183, allocations: 82.97 kB / 1.265 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/1.186, allocations: 1.202 MB / 1.266 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/1.186, allocations: 12 kB / 1.266 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/1.186, allocations: 0 / 1.266 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/1.186, allocations: 3.984 kB / 1.266 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/1.19, allocations: 2.134 MB / 1.268 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.19, allocations: 7.984 kB / 1.268 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/1.191, allocations: 167.8 kB / 1.268 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/1.191, allocations: 80.77 kB / 1.268 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/1.191, allocations: 23.98 kB / 1.268 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.193, allocations: 1.67 MB / 1.27 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.193, allocations: 0 / 1.27 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/1.196, allocations: 1.119 MB / 1.271 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/1.196, allocations: 275.7 kB / 1.271 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.196, allocations: 16 kB / 1.271 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/1.197, allocations: 87.91 kB / 1.271 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.197, allocations: 80.77 kB / 1.271 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/1.197, allocations: 39.97 kB / 1.271 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005658/1.198, allocations: 471 kB / 1.272 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.198, allocations: 0 / 1.272 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008881/1.199, allocations: 327 kB / 1.272 GB, free: 224 kB / 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.001437/1.2, allocations: 0.6131 MB / 1.273 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002247/1.202, allocations: 0.9446 MB / 1.274 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.202, allocations: 3.938 kB / 1.274 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/1.204, allocations: 0.5899 MB / 1.274 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/1.205, allocations: 284.8 kB / 1.274 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/1.209, allocations: 1.889 MB / 1.276 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/1.21, allocations: 1.047 MB / 1.277 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008897/1.21, allocations: 282.8 kB / 1.278 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/1.211, allocations: 107.4 kB / 1.278 GB, free: 10.58 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/1.211, allocations: 4 kB / 1.278 GB, free: 10.57 MB / 1.014 GB Notification: Performance of Templates: time 0.03196/1.243, allocations: 15.93 MB / 1.293 GB, free: 10.81 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/jenkins/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