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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001493/0.001493, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.433/1.433, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 64.05 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6472/0.6488, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005922/0.6547, allocations: 4.423 MB / 0.9539 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.8301, allocations: 148.3 MB / 1.099 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.8315, allocations: 19.88 kB / 1.099 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009528/0.8325, allocations: 135 kB / 1.099 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.8351, allocations: 428.6 kB / 1.099 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.8383, allocations: 0.7378 MB / 1.1 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002082/0.8404, allocations: 1.246 MB / 1.101 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.8418, allocations: 0.6911 MB / 1.102 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009524/0.8428, allocations: 442.2 kB / 1.102 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.8438, allocations: 0.5054 MB / 1.103 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.8441, allocations: 68 kB / 1.103 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.8454, allocations: 415.6 kB / 1.103 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000426/0.8458, allocations: 251 kB / 1.103 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008403/0.8467, allocations: 0.5282 MB / 1.104 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.8486, allocations: 1.263 MB / 1.105 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.8486, allocations: 0 / 1.105 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8486, allocations: 4 kB / 1.105 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.06e-05/0.8487, allocations: 0 / 1.105 GB, free: 2.23 MB / 0.8575 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.003913/0.8526, allocations: 1.485 MB / 1.107 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.8526, allocations: 8.031 kB / 1.107 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.8547, allocations: 307.1 kB / 1.107 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.8562, allocations: 0.7656 MB / 1.108 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.8563, allocations: 74 kB / 1.108 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.8565, allocations: 88 kB / 1.108 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.8585, allocations: 1.077 MB / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.8586, allocations: 4 kB / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.8587, allocations: 40 kB / 1.109 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.8587, allocations: 24 kB / 1.109 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.8611, allocations: 1.268 MB / 1.11 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/0.8659, allocations: 2.719 MB / 1.113 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.8686, allocations: 1.017 MB / 1.114 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/0.8694, allocations: 362.6 kB / 1.114 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.843e-05/0.8695, allocations: 28.61 kB / 1.114 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.8708, allocations: 0.5605 MB / 1.115 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.204e-06/0.8708, allocations: 0 / 1.115 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.005023/0.8758, allocations: 1.38 MB / 1.116 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.876, allocations: 192.9 kB / 1.116 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.8772, allocations: 0.6411 MB / 1.117 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.8773, allocations: 41.7 kB / 1.117 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005628/0.8779, allocations: 428.2 kB / 1.117 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.8782, allocations: 272.1 kB / 1.118 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.8786, allocations: 166.5 kB / 1.118 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000315/0.8789, allocations: 390.8 kB / 1.118 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.8801, allocations: 329.7 kB / 1.119 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.8814, allocations: 415.1 kB / 1.119 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.8838, allocations: 0.7138 MB / 1.12 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.8838, allocations: 4.062 kB / 1.12 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003593/0.8874, allocations: 0.9619 MB / 1.121 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/0.8875, allocations: 8 kB / 1.121 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.8875, allocations: 3.984 kB / 1.121 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007638/0.8883, allocations: 84.86 kB / 1.121 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.8894, allocations: 187.7 kB / 1.121 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.8924, allocations: 1.512 MB / 1.122 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.8938, allocations: 120.4 kB / 1.122 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.894, allocations: 39.97 kB / 1.122 GB, free: 48 kB / 0.8731 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.0009054/0.8949, allocations: 283.4 kB / 1.123 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/0.8953, allocations: 82.97 kB / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/0.8996, allocations: 1.21 MB / 1.124 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.8997, allocations: 8 kB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8997, allocations: 0 / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.8997, allocations: 3.984 kB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005925/0.9056, allocations: 2.145 MB / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.9057, allocations: 7.984 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.9067, allocations: 163.8 kB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000683/0.9074, allocations: 88.75 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.9076, allocations: 27.98 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/0.9103, allocations: 1.555 MB / 1.128 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9103, allocations: 3.938 kB / 1.128 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.9142, allocations: 1.113 MB / 1.129 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007841/0.915, allocations: 279.6 kB / 1.129 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.9153, allocations: 24 kB / 1.129 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.9165, allocations: 83.91 kB / 1.129 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.9168, allocations: 76.83 kB / 1.129 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.9169, allocations: 35.98 kB / 1.129 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009779/0.9179, allocations: 463 kB / 1.13 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9179, allocations: 0 / 1.13 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001602/0.9196, allocations: 327.2 kB / 1.13 GB, free: 7.848 MB / 0.8887 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.002233/0.9218, allocations: 0.607 MB / 1.131 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003397/0.9252, allocations: 0.9484 MB / 1.132 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9252, allocations: 0 / 1.132 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.9271, allocations: 0.5821 MB / 1.132 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.9293, allocations: 270.1 kB / 1.133 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007063/0.9363, allocations: 2.397 MB / 1.135 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.9371, allocations: 1.051 MB / 1.136 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.9376, allocations: 119.4 kB / 1.136 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of SimCode: time 1.002e-06/0.9376, allocations: 0 / 1.136 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of Templates: time 0.03045/0.9681, allocations: 19.51 MB / 1.155 GB, free: 14.51 MB / 0.92 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) "" Variables in the reference:time,skyBri.skyBri Variables in the result:skyBri.skyBri,time