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.001029/0.00103, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001325/0.001325, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.426 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.468/2.468, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005946/0.0005947, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7967/0.7974, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005239/0.8027, allocations: 3.8 MB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.973, allocations: 136.8 MB / 1.092 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007835/0.9738, allocations: 15.94 kB / 1.092 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.9743, allocations: 134.9 kB / 1.092 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.9757, allocations: 414.1 kB / 1.092 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.9774, allocations: 0.6485 MB / 1.093 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.9787, allocations: 1.148 MB / 1.094 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009247/0.9796, allocations: 0.5466 MB / 1.095 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007385/0.9803, allocations: 346.4 kB / 1.095 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.981, allocations: 378 kB / 1.095 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.421e-05/0.9811, allocations: 28 kB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.9822, allocations: 339.6 kB / 1.096 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.9825, allocations: 187.1 kB / 1.096 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000303/0.9828, allocations: 205.1 kB / 1.096 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.9844, allocations: 1.231 MB / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.9845, allocations: 0 / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9845, allocations: 8 kB / 1.097 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.9845, allocations: 0 / 1.097 GB, free: 12.92 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.002753/0.9873, allocations: 1.266 MB / 1.098 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.9873, allocations: 16.03 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.989, allocations: 310.3 kB / 1.099 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.9903, allocations: 0.738 MB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/0.9904, allocations: 66 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.9905, allocations: 99.94 kB / 1.1 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.9926, allocations: 1.066 MB / 1.101 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.9927, allocations: 7.891 kB / 1.101 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.9928, allocations: 44 kB / 1.101 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.9928, allocations: 24 kB / 1.101 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.9953, allocations: 1.264 MB / 1.102 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/1, allocations: 2.731 MB / 1.105 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/1.003, allocations: 1.031 MB / 1.106 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007773/1.004, allocations: 370.5 kB / 1.106 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.964e-05/1.004, allocations: 36.61 kB / 1.106 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/1.005, allocations: 0.5588 MB / 1.107 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=84): time 3.065e-06/1.005, allocations: 0 / 1.107 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=84): time 0.003686/1.009, allocations: 1.384 MB / 1.108 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.009, allocations: 192.9 kB / 1.108 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/1.01, allocations: 0.641 MB / 1.109 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/1.01, allocations: 41.7 kB / 1.109 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/1.01, allocations: 424.2 kB / 1.109 GB, free: 304 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/1.011, allocations: 276 kB / 1.109 GB, free: 24 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/1.011, allocations: 12 kB / 1.109 GB, free: 12 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000304/1.011, allocations: 390.7 kB / 1.11 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007841/1.012, allocations: 321.8 kB / 1.11 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008434/1.013, allocations: 419 kB / 1.111 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/1.013, allocations: 362.8 kB / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.013, allocations: 0 / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002274/1.016, allocations: 0.962 MB / 1.112 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.016, allocations: 8.094 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.016, allocations: 4 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/1.016, allocations: 92.69 kB / 1.112 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/1.017, allocations: 187.8 kB / 1.112 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/1.019, allocations: 1.508 MB / 1.114 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/1.02, allocations: 135.2 kB / 1.114 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/1.02, allocations: 35.97 kB / 1.114 GB, free: 11.45 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004913/1.021, allocations: 271.9 kB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/1.021, allocations: 90.91 kB / 1.114 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/1.024, allocations: 1.218 MB / 1.115 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.024, allocations: 12 kB / 1.115 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/1.024, allocations: 0 / 1.115 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.024, allocations: 7.969 kB / 1.115 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/1.027, allocations: 2.16 MB / 1.117 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.027, allocations: 0 / 1.117 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007026/1.028, allocations: 175.8 kB / 1.118 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/1.028, allocations: 84.77 kB / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/1.029, allocations: 23.98 kB / 1.118 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/1.03, allocations: 1.548 MB / 1.119 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.03, allocations: 0 / 1.119 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/1.033, allocations: 1.117 MB / 1.12 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/1.033, allocations: 303.5 kB / 1.121 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/1.033, allocations: 20 kB / 1.121 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/1.034, allocations: 101.9 kB / 1.121 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.034, allocations: 72.89 kB / 1.121 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/1.034, allocations: 35.98 kB / 1.121 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005753/1.035, allocations: 459 kB / 1.121 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/1.035, allocations: 0 / 1.121 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000919/1.036, allocations: 335.1 kB / 1.122 GB, free: 3.199 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/1.037, allocations: 0.6132 MB / 1.122 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002111/1.039, allocations: 0.9523 MB / 1.123 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.039, allocations: 7.938 kB / 1.123 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/1.04, allocations: 0.5783 MB / 1.124 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.042, allocations: 261.2 kB / 1.124 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/1.046, allocations: 2.36 MB / 1.126 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006035/1.047, allocations: 1.049 MB / 1.127 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009628/1.048, allocations: 286.8 kB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/1.048, allocations: 107.4 kB / 1.128 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of SimCode: time 1.463e-06/1.048, allocations: 0 / 1.128 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of Templates: time 0.02774/1.076, allocations: 14.29 MB / 1.142 GB, free: 14.97 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