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.001821/0.001821, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001808/0.001808, allocations: 192.5 kB / 16.25 MB, free: 6.645 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.43 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.498/2.498, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8677, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007819/0.8756, allocations: 4.438 MB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1844/1.06, allocations: 148.4 MB / 1.098 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/1.062, allocations: 19.88 kB / 1.098 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006686/1.062, allocations: 138.9 kB / 1.098 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/1.064, allocations: 452.4 kB / 1.099 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/1.067, allocations: 0.7605 MB / 1.1 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001569/1.069, allocations: 1.324 MB / 1.101 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009918/1.07, allocations: 0.7155 MB / 1.102 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007515/1.07, allocations: 0.4982 MB / 1.102 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/1.071, allocations: 0.5406 MB / 1.103 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/1.071, allocations: 128 kB / 1.103 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/1.072, allocations: 467.6 kB / 1.103 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/1.073, allocations: 323 kB / 1.104 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005058/1.073, allocations: 0.5829 MB / 1.104 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/1.075, allocations: 1.675 MB / 1.106 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.075, allocations: 4 kB / 1.106 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/1.075, allocations: 0 / 1.106 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.449e-05/1.075, allocations: 0 / 1.106 GB, free: 1.109 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.002649/1.078, allocations: 1.477 MB / 1.107 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.078, allocations: 15.97 kB / 1.107 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/1.079, allocations: 307.1 kB / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.081, allocations: 0.7694 MB / 1.108 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/1.081, allocations: 66 kB / 1.108 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.081, allocations: 96 kB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/1.083, allocations: 1.066 MB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/1.083, allocations: 0 / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.84e-05/1.083, allocations: 51.98 kB / 1.109 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/1.083, allocations: 27.94 kB / 1.11 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/1.085, allocations: 1.261 MB / 1.111 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/1.09, allocations: 2.712 MB / 1.113 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/1.092, allocations: 1.024 MB / 1.114 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/1.093, allocations: 362.6 kB / 1.115 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/1.093, allocations: 40.53 kB / 1.115 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/1.094, allocations: 0.5567 MB / 1.115 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.835e-06/1.095, allocations: 0 / 1.115 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.00398/1.098, allocations: 1.376 MB / 1.117 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.099, allocations: 196.9 kB / 1.117 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008797/1.1, allocations: 0.6372 MB / 1.117 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/1.1, allocations: 41.7 kB / 1.118 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/1.1, allocations: 428.2 kB / 1.118 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/1.1, allocations: 276.1 kB / 1.118 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/1.1, allocations: 166.5 kB / 1.118 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.101, allocations: 390.7 kB / 1.119 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/1.101, allocations: 325.8 kB / 1.119 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/1.102, allocations: 419 kB / 1.119 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/1.104, allocations: 0.7099 MB / 1.12 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.104, allocations: 4 kB / 1.12 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0024/1.106, allocations: 0.9658 MB / 1.121 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.106, allocations: 5.562 kB / 1.121 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.106, allocations: 4 kB / 1.121 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/1.107, allocations: 84.86 kB / 1.121 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/1.108, allocations: 187.7 kB / 1.121 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/1.11, allocations: 1.642 MB / 1.123 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008996/1.111, allocations: 107.2 kB / 1.123 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.909e-05/1.111, allocations: 44.03 kB / 1.123 GB, free: 14.8 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.0004807/1.111, allocations: 271.4 kB / 1.123 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/1.112, allocations: 86.97 kB / 1.123 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/1.115, allocations: 1.206 MB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.115, allocations: 12 kB / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.115, allocations: 0 / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.115, allocations: 3.984 kB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/1.118, allocations: 2.144 MB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.118, allocations: 0 / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/1.119, allocations: 175.7 kB / 1.127 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/1.12, allocations: 72.78 kB / 1.127 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/1.12, allocations: 31.97 kB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/1.122, allocations: 1.658 MB / 1.129 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.122, allocations: 0 / 1.129 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/1.124, allocations: 1.117 MB / 1.13 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/1.125, allocations: 279.9 kB / 1.13 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/1.125, allocations: 23.97 kB / 1.13 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/1.126, allocations: 86.53 kB / 1.13 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.126, allocations: 80.83 kB / 1.13 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/1.126, allocations: 39.97 kB / 1.13 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005794/1.126, allocations: 463 kB / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/1.126, allocations: 0 / 1.131 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009359/1.127, allocations: 331.1 kB / 1.131 GB, free: 6.496 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.001443/1.129, allocations: 0.612 MB / 1.132 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00297/1.132, allocations: 1.159 MB / 1.133 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.132, allocations: 0 / 1.133 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.133, allocations: 0.5783 MB / 1.133 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/1.134, allocations: 292.3 kB / 1.134 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/1.139, allocations: 2.357 MB / 1.136 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/1.14, allocations: 1.043 MB / 1.137 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001082/1.141, allocations: 278.8 kB / 1.137 GB, free: 304 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/1.142, allocations: 119.2 kB / 1.137 GB, free: 184 kB / 0.8887 GB Notification: Performance of SimCode: time 8.52e-07/1.142, allocations: 4 kB / 1.137 GB, free: 180 kB / 0.8887 GB Notification: Performance of Templates: time 0.02768/1.169, allocations: 15.37 MB / 1.152 GB, free: 0.9648 MB / 0.9044 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