Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005274/0.005274, allocations: 100 kB / 15.73 MB, free: 6.047 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.001249/0.001249, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.97 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2908, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007778/0.2986, allocations: 4.655 MB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1803/0.479, allocations: 150.8 MB / 1.24 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.4802, allocations: 23.88 kB / 1.24 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.4814, allocations: 190.2 kB / 1.24 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.4848, allocations: 0.513 MB / 1.24 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004177/0.489, allocations: 0.9349 MB / 1.241 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.4923, allocations: 1.5 MB / 1.243 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.4944, allocations: 0.7898 MB / 1.244 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.4959, allocations: 0.5723 MB / 1.244 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.4975, allocations: 0.6359 MB / 1.245 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005275/0.498, allocations: 140 kB / 1.245 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.5001, allocations: 0.523 MB / 1.245 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006998/0.5008, allocations: 358.9 kB / 1.246 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.502, allocations: 0.649 MB / 1.246 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.5063, allocations: 1.877 MB / 1.248 GB, free: 12.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.5064, allocations: 0 / 1.248 GB, free: 12.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.975e-06/0.5064, allocations: 0 / 1.248 GB, free: 12.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.577e-05/0.5064, allocations: 4 kB / 1.248 GB, free: 12.73 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.006276/0.5127, allocations: 1.653 MB / 1.25 GB, free: 11.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.5128, allocations: 12.03 kB / 1.25 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009944/0.5228, allocations: 0.7561 MB / 1.251 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/0.5258, allocations: 0.8279 MB / 1.251 GB, free: 9.383 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.526, allocations: 82.2 kB / 1.251 GB, free: 9.301 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000485/0.5265, allocations: 104 kB / 1.252 GB, free: 9.199 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007151/0.5337, allocations: 1.44 MB / 1.253 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.5338, allocations: 3.938 kB / 1.253 GB, free: 7.691 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003253/0.5341, allocations: 48 kB / 1.253 GB, free: 7.645 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.5342, allocations: 28 kB / 1.253 GB, free: 7.617 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009836/0.544, allocations: 1.889 MB / 1.255 GB, free: 5.719 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.558, allocations: 3.229 MB / 1.258 GB, free: 2.426 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/0.5645, allocations: 1.37 MB / 1.259 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/0.5675, allocations: 0.5991 MB / 1.26 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6522/1.22, allocations: 476.3 kB / 1.26 GB, free: 173.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/1.222, allocations: 0.8073 MB / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 2.916e-06/1.222, allocations: 0 / 1.261 GB, free: 173.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006275/1.228, allocations: 1.968 MB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/1.228, allocations: 196.9 kB / 1.263 GB, free: 172.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/1.229, allocations: 0.652 MB / 1.264 GB, free: 172.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/1.229, allocations: 43.69 kB / 1.264 GB, free: 172.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/1.23, allocations: 445.4 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/1.23, allocations: 353 kB / 1.265 GB, free: 171.9 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/1.23, allocations: 206.1 kB / 1.265 GB, free: 171.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.23, allocations: 402.6 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/1.232, allocations: 0.4966 MB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/1.233, allocations: 0.6112 MB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003025/1.237, allocations: 1.08 MB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.237, allocations: 5.219 kB / 1.267 GB, free: 170.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00437/1.241, allocations: 1.364 MB / 1.269 GB, free: 170.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.241, allocations: 7.781 kB / 1.269 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.241, allocations: 1.219 kB / 1.269 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000638/1.242, allocations: 88.42 kB / 1.269 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.243, allocations: 270.8 kB / 1.269 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/1.245, allocations: 1.631 MB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.247, allocations: 162.7 kB / 1.271 GB, free: 168.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.247, allocations: 55.34 kB / 1.271 GB, free: 168.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.0005993/1.247, allocations: 292.8 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/1.248, allocations: 92.23 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/1.253, allocations: 1.673 MB / 1.273 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.253, allocations: 13.52 kB / 1.273 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.253, allocations: 3.938 kB / 1.273 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.253, allocations: 5.625 kB / 1.273 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/1.259, allocations: 2.834 MB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.259, allocations: 0.6094 kB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.26, allocations: 252 kB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/1.261, allocations: 77.56 kB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/1.261, allocations: 34.89 kB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/1.262, allocations: 1.664 MB / 1.278 GB, free: 164.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.262, allocations: 0 / 1.278 GB, free: 164.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/1.266, allocations: 1.535 MB / 1.279 GB, free: 164.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/1.267, allocations: 310.6 kB / 1.279 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/1.267, allocations: 27.38 kB / 1.279 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.268, allocations: 119.8 kB / 1.28 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/1.268, allocations: 92.22 kB / 1.28 GB, free: 164 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.268, allocations: 45.81 kB / 1.28 GB, free: 164 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006277/1.269, allocations: 470.2 kB / 1.28 GB, free: 163.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.269, allocations: 0 / 1.28 GB, free: 163.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0017/1.271, allocations: 392.9 kB / 1.281 GB, free: 163.7 MB / 1.014 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 (122): * Single equations (assignments): 116 * 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.00188/1.272, allocations: 0.6227 MB / 1.281 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004078/1.277, allocations: 1.39 MB / 1.283 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.277, allocations: 0.75 kB / 1.283 GB, free: 163 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/1.279, allocations: 0.8233 MB / 1.283 GB, free: 162.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/1.28, allocations: 314.6 kB / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/1.285, allocations: 2.188 MB / 1.286 GB, free: 161.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/1.286, allocations: 1.09 MB / 1.287 GB, free: 160.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001297/1.287, allocations: 333 kB / 1.287 GB, free: 160.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/1.287, allocations: 129.8 kB / 1.287 GB, free: 160.7 MB / 1.014 GB Notification: Performance of SimCode: time 7.52e-07/1.287, allocations: 0 / 1.287 GB, free: 160.7 MB / 1.014 GB Notification: Performance of Templates: time 0.03687/1.324, allocations: 18.79 MB / 1.306 GB, free: 153.7 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches