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.001102/0.001102, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001106/0.001106, allocations: 191 kB / 17.2 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.22/2.22, allocations: 390.3 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 65.7 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2799, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006727/0.2867, allocations: 4.427 MB / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6974/0.9841, allocations: 150.6 MB / 1.102 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009912/0.9851, allocations: 18.12 kB / 1.102 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006084/0.9857, allocations: 176.5 kB / 1.102 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.9878, allocations: 0.5031 MB / 1.102 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.9901, allocations: 0.839 MB / 1.103 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.9924, allocations: 1.321 MB / 1.104 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.9937, allocations: 0.7141 MB / 1.105 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.9948, allocations: 0.4956 MB / 1.106 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008566/0.9957, allocations: 0.5338 MB / 1.106 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.9959, allocations: 130.6 kB / 1.106 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.9972, allocations: 470.7 kB / 1.107 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.9976, allocations: 323.8 kB / 1.107 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000734/0.9984, allocations: 0.5838 MB / 1.108 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002914/1.001, allocations: 1.67 MB / 1.109 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.001, allocations: 0.5625 kB / 1.109 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/1.001, allocations: 0 / 1.109 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.101e-05/1.001, allocations: 0 / 1.109 GB, free: 4.547 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.003725/1.005, allocations: 1.492 MB / 1.111 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.005, allocations: 11.69 kB / 1.111 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/1.007, allocations: 307 kB / 1.111 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/1.008, allocations: 0.763 MB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/1.008, allocations: 72.77 kB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.009, allocations: 93.5 kB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/1.011, allocations: 1.074 MB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/1.011, allocations: 0 / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.011, allocations: 42.47 kB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/1.011, allocations: 23.75 kB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002679/1.014, allocations: 1.269 MB / 1.114 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005136/1.019, allocations: 2.702 MB / 1.117 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.021, allocations: 1.021 MB / 1.118 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/1.022, allocations: 363.7 kB / 1.118 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.03e-05/1.022, allocations: 31.28 kB / 1.118 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/1.024, allocations: 0.5673 MB / 1.119 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/1.024, allocations: 0 / 1.119 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.004041/1.028, allocations: 1.378 MB / 1.12 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.028, allocations: 193.1 kB / 1.12 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.029, allocations: 0.6378 MB / 1.121 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.029, allocations: 44.77 kB / 1.121 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/1.029, allocations: 426.6 kB / 1.121 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/1.03, allocations: 276.1 kB / 1.122 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/1.03, allocations: 170.1 kB / 1.122 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.03, allocations: 388 kB / 1.122 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/1.031, allocations: 323.2 kB / 1.123 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008682/1.032, allocations: 420.1 kB / 1.123 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.033, allocations: 0.7096 MB / 1.124 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.033, allocations: 1.344 kB / 1.124 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002541/1.036, allocations: 0.9655 MB / 1.125 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.036, allocations: 10.97 kB / 1.125 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.036, allocations: 1.312 kB / 1.125 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000628/1.037, allocations: 82.98 kB / 1.125 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/1.037, allocations: 190 kB / 1.125 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/1.04, allocations: 1.63 MB / 1.126 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/1.041, allocations: 121.9 kB / 1.127 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/1.041, allocations: 37.55 kB / 1.127 GB, free: 15.26 MB / 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.0006091/1.041, allocations: 276.3 kB / 1.127 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/1.041, allocations: 87.75 kB / 1.127 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/1.044, allocations: 1.202 MB / 1.128 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.044, allocations: 9.688 kB / 1.128 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.044, allocations: 4 kB / 1.128 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.044, allocations: 8.312 kB / 1.128 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/1.049, allocations: 2.148 MB / 1.13 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.049, allocations: 0 / 1.13 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/1.049, allocations: 178.6 kB / 1.13 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/1.05, allocations: 74.5 kB / 1.13 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/1.05, allocations: 29.69 kB / 1.13 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/1.052, allocations: 1.652 MB / 1.132 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.052, allocations: 5.109 kB / 1.132 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/1.055, allocations: 1.119 MB / 1.133 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/1.055, allocations: 281 kB / 1.133 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/1.055, allocations: 21.31 kB / 1.133 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009626/1.056, allocations: 86.47 kB / 1.134 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/1.057, allocations: 72.44 kB / 1.134 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/1.057, allocations: 43.52 kB / 1.134 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008589/1.057, allocations: 464.4 kB / 1.134 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.058, allocations: 0 / 1.134 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00145/1.059, allocations: 333.7 kB / 1.134 GB, free: 12.62 MB / 0.8731 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.001613/1.061, allocations: 0.6051 MB / 1.135 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003342/1.064, allocations: 1.161 MB / 1.136 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.064, allocations: 3.484 kB / 1.136 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/1.065, allocations: 0.5844 MB / 1.137 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.067, allocations: 281.1 kB / 1.137 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/1.072, allocations: 1.966 MB / 1.139 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009235/1.073, allocations: 1.045 MB / 1.14 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/1.074, allocations: 126.8 kB / 1.14 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of SimCode: time 7.31e-07/1.074, allocations: 1.203 kB / 1.14 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of Templates: time 0.03489/1.108, allocations: 19.5 MB / 1.159 GB, free: 3.18 MB / 0.8731 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