Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00183/0.00183, allocations: 108.5 kB / 15.99 MB, free: 6.348 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.002104/0.002105, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.483/1.483, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 482.2 MB / 0.7548 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.69 kB / 0.9238 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9029/0.9049, allocations: 162.2 MB / 1.082 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008269/0.9133, allocations: 5.376 MB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2026/1.116, allocations: 148.6 MB / 1.233 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/1.117, allocations: 15.94 kB / 1.233 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000724/1.118, allocations: 166.6 kB / 1.233 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/1.12, allocations: 0.5081 MB / 1.233 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/1.123, allocations: 0.8516 MB / 1.234 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002232/1.125, allocations: 1.612 MB / 1.236 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/1.126, allocations: 0.7474 MB / 1.236 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009943/1.127, allocations: 0.5878 MB / 1.237 GB, free: 324 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008402/1.128, allocations: 0.6458 MB / 1.238 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/1.128, allocations: 140 kB / 1.238 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/1.13, allocations: 0.5035 MB / 1.238 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/1.13, allocations: 358.9 kB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006665/1.131, allocations: 0.6763 MB / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/1.132, allocations: 1.423 MB / 1.241 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.133, allocations: 0 / 1.241 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/1.133, allocations: 0 / 1.241 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.384e-05/1.133, allocations: 0 / 1.241 GB, free: 12.57 MB / 0.9669 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.00369/1.136, allocations: 1.672 MB / 1.242 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.136, allocations: 8.031 kB / 1.242 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005459/1.142, allocations: 0.7522 MB / 1.243 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/1.143, allocations: 0.8046 MB / 1.244 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.519e-05/1.143, allocations: 94.12 kB / 1.244 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/1.144, allocations: 104 kB / 1.244 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/1.147, allocations: 1.428 MB / 1.245 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/1.147, allocations: 0 / 1.245 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/1.147, allocations: 52 kB / 1.245 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/1.148, allocations: 28 kB / 1.245 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004825/1.152, allocations: 1.882 MB / 1.247 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007197/1.16, allocations: 3.658 MB / 1.251 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/1.163, allocations: 1.367 MB / 1.252 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/1.165, allocations: 0.5991 MB / 1.253 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007404/1.165, allocations: 478.6 kB / 1.253 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002139/1.168, allocations: 0.8127 MB / 1.254 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=109): time 3.266e-06/1.168, allocations: 0 / 1.254 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=109): time 0.006346/1.174, allocations: 1.969 MB / 1.256 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/1.174, allocations: 196.9 kB / 1.256 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009606/1.175, allocations: 0.6566 MB / 1.257 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/1.175, allocations: 49.7 kB / 1.257 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/1.176, allocations: 436.5 kB / 1.257 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/1.176, allocations: 354.8 kB / 1.258 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/1.177, allocations: 206.5 kB / 1.258 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002231/1.177, allocations: 398.7 kB / 1.258 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/1.178, allocations: 0.5016 MB / 1.259 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.18, allocations: 0.6091 MB / 1.259 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/1.183, allocations: 1.09 MB / 1.26 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.183, allocations: 0 / 1.26 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004141/1.187, allocations: 1.372 MB / 1.262 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/1.187, allocations: 8 kB / 1.262 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.187, allocations: 0 / 1.262 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/1.188, allocations: 80.91 kB / 1.262 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.189, allocations: 275.6 kB / 1.262 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/1.192, allocations: 1.636 MB / 1.264 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.193, allocations: 167.1 kB / 1.264 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.194, allocations: 47.95 kB / 1.264 GB, free: 4.066 MB / 0.9825 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.0007189/1.194, allocations: 291.3 kB / 1.264 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/1.195, allocations: 98.81 kB / 1.264 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004855/1.199, allocations: 1.676 MB / 1.266 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/1.199, allocations: 15.94 kB / 1.266 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.2, allocations: 0 / 1.266 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/1.2, allocations: 7.969 kB / 1.266 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006288/1.206, allocations: 2.792 MB / 1.268 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.206, allocations: 0 / 1.268 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.207, allocations: 251.6 kB / 1.269 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/1.208, allocations: 80.78 kB / 1.269 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.208, allocations: 35.97 kB / 1.269 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/1.21, allocations: 1.662 MB / 1.27 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.21, allocations: 3.938 kB / 1.27 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/1.214, allocations: 1.527 MB / 1.272 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006119/1.215, allocations: 315.5 kB / 1.272 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.215, allocations: 35.92 kB / 1.272 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.216, allocations: 123.8 kB / 1.272 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.217, allocations: 88.88 kB / 1.273 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.217, allocations: 47.95 kB / 1.273 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006704/1.218, allocations: 467 kB / 1.273 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.218, allocations: 0 / 1.273 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001166/1.219, allocations: 407 kB / 1.273 GB, free: 9.91 MB / 0.9981 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.002077/1.221, allocations: 0.6348 MB / 1.274 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005637/1.226, allocations: 1.667 MB / 1.276 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.226, allocations: 0 / 1.276 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002316/1.229, allocations: 0.8125 MB / 1.276 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.231, allocations: 315.5 kB / 1.277 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/1.236, allocations: 2.669 MB / 1.279 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/1.237, allocations: 1.081 MB / 1.28 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/1.237, allocations: 147.3 kB / 1.281 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/1.237, allocations: 0 / 1.281 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of Templates: time 0.03464/1.272, allocations: 22.74 MB / 1.303 GB, free: 12.08 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,time