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.001206/0.001206, allocations: 108 kB / 15.6 MB, free: 132 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.001155/0.001155, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.406/2.406, allocations: 390.2 MB / 0.6646 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 63.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6457/0.647, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005891/0.6529, allocations: 4.434 MB / 0.9539 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.8225, allocations: 150.6 MB / 1.101 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.8236, allocations: 19.88 kB / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.8241, allocations: 174.4 kB / 1.101 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.8259, allocations: 0.5022 MB / 1.102 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.8278, allocations: 0.8516 MB / 1.102 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.8291, allocations: 1.32 MB / 1.104 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009409/0.8301, allocations: 0.7117 MB / 1.104 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.8307, allocations: 0.4983 MB / 1.105 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005918/0.8313, allocations: 0.5366 MB / 1.105 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.8315, allocations: 128 kB / 1.106 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.8324, allocations: 463.7 kB / 1.106 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.8327, allocations: 319 kB / 1.106 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005942/0.8333, allocations: 0.5946 MB / 1.107 GB, free: 148 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.8354, allocations: 1.667 MB / 1.109 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8355, allocations: 0 / 1.109 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.867e-06/0.8355, allocations: 4 kB / 1.109 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.8355, allocations: 0 / 1.109 GB, free: 14.47 MB / 0.8731 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.002612/0.8381, allocations: 1.485 MB / 1.11 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.8382, allocations: 8.031 kB / 1.11 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.84, allocations: 303.1 kB / 1.11 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.8411, allocations: 0.7694 MB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/0.8412, allocations: 77.98 kB / 1.111 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.8413, allocations: 92 kB / 1.111 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.8433, allocations: 1.07 MB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.8433, allocations: 4 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.812e-05/0.8434, allocations: 47.92 kB / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.8434, allocations: 24 kB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.8458, allocations: 1.268 MB / 1.114 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004543/0.8504, allocations: 2.704 MB / 1.116 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.853, allocations: 1.024 MB / 1.117 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/0.8539, allocations: 362.6 kB / 1.118 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.341e-05/0.854, allocations: 32.59 kB / 1.118 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.8551, allocations: 0.5528 MB / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.445e-06/0.8552, allocations: 0 / 1.118 GB, free: 4.414 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.004037/0.8592, allocations: 1.384 MB / 1.119 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.8593, allocations: 192.9 kB / 1.12 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008879/0.8602, allocations: 0.6372 MB / 1.12 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.8603, allocations: 45.7 kB / 1.12 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.8607, allocations: 432.1 kB / 1.121 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.8609, allocations: 272.1 kB / 1.121 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.8612, allocations: 166.5 kB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.8614, allocations: 390.8 kB / 1.122 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007898/0.8622, allocations: 321.8 kB / 1.122 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008669/0.8631, allocations: 426.9 kB / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.8647, allocations: 0.7099 MB / 1.123 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.8647, allocations: 4 kB / 1.123 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002551/0.8673, allocations: 0.9619 MB / 1.124 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8673, allocations: 8 kB / 1.124 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8674, allocations: 3.984 kB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.868, allocations: 80.86 kB / 1.124 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/0.8688, allocations: 187.7 kB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.8709, allocations: 1.63 MB / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008929/0.8718, allocations: 116.7 kB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.8719, allocations: 39.97 kB / 1.126 GB, free: 12.16 MB / 0.8887 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.0004519/0.8724, allocations: 283.9 kB / 1.126 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.8725, allocations: 82.97 kB / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.8755, allocations: 1.21 MB / 1.127 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.8755, allocations: 12 kB / 1.127 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.8756, allocations: 0 / 1.127 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.8756, allocations: 3.984 kB / 1.127 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.8795, allocations: 2.145 MB / 1.13 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.8795, allocations: 0 / 1.13 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007818/0.8803, allocations: 175.8 kB / 1.13 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.8808, allocations: 76.78 kB / 1.13 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.8808, allocations: 27.97 kB / 1.13 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.8827, allocations: 1.658 MB / 1.131 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8827, allocations: 0 / 1.131 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.8853, allocations: 1.113 MB / 1.132 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.8857, allocations: 279.7 kB / 1.133 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.8859, allocations: 23.98 kB / 1.133 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.8867, allocations: 79.86 kB / 1.133 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.8868, allocations: 84.83 kB / 1.133 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.8869, allocations: 39.91 kB / 1.133 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005797/0.8875, allocations: 467 kB / 1.133 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8875, allocations: 3.938 kB / 1.133 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008574/0.8884, allocations: 331.1 kB / 1.134 GB, free: 3.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.001306/0.8897, allocations: 0.5976 MB / 1.134 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00291/0.8926, allocations: 1.159 MB / 1.135 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8926, allocations: 4 kB / 1.135 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.8938, allocations: 0.5783 MB / 1.136 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8951, allocations: 301.2 kB / 1.136 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.8993, allocations: 1.916 MB / 1.138 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.8999, allocations: 1.043 MB / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009887/0.9009, allocations: 282.8 kB / 1.139 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.9012, allocations: 107.4 kB / 1.14 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of SimCode: time 2.084e-06/0.9012, allocations: 4 kB / 1.14 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of Templates: time 0.02563/0.9268, allocations: 15.47 MB / 1.155 GB, free: 14.68 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/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