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.008/0.008, allocations: 101.1 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.001796/0.001796, allocations: 201.5 kB / 16.68 MB, free: 5.973 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.384/1.384, 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.376/2.376, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 66.92 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3299, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006634/0.3365, allocations: 4.646 MB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1726/0.5092, allocations: 150.8 MB / 1.24 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009966/0.5102, allocations: 19.88 kB / 1.24 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.5109, allocations: 186.3 kB / 1.24 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.5129, allocations: 0.516 MB / 1.24 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.5153, allocations: 0.9549 MB / 1.241 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.5169, allocations: 1.492 MB / 1.243 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.518, allocations: 0.7898 MB / 1.244 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007237/0.5187, allocations: 0.5762 MB / 1.244 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006894/0.5194, allocations: 0.6301 MB / 1.245 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.5196, allocations: 140 kB / 1.245 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.5207, allocations: 0.523 MB / 1.245 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.521, allocations: 358.9 kB / 1.246 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.5215, allocations: 0.649 MB / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.5235, allocations: 1.869 MB / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5235, allocations: 4 kB / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5235, allocations: 4 kB / 1.248 GB, free: 12.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.5236, allocations: 3.984 kB / 1.248 GB, free: 12.75 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.00309/0.5266, allocations: 1.649 MB / 1.25 GB, free: 11.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.5267, allocations: 12.03 kB / 1.25 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.5318, allocations: 0.7484 MB / 1.251 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.5333, allocations: 0.8395 MB / 1.251 GB, free: 9.398 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.5333, allocations: 78.2 kB / 1.251 GB, free: 9.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.5335, allocations: 112 kB / 1.252 GB, free: 9.211 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.5366, allocations: 1.432 MB / 1.253 GB, free: 7.715 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.5366, allocations: 0 / 1.253 GB, free: 7.715 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.5368, allocations: 51.98 kB / 1.253 GB, free: 7.664 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.5368, allocations: 31.94 kB / 1.253 GB, free: 7.633 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/0.5412, allocations: 1.882 MB / 1.255 GB, free: 5.742 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006085/0.5473, allocations: 3.229 MB / 1.258 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.5505, allocations: 1.374 MB / 1.259 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.552, allocations: 0.601 MB / 1.26 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7127/1.265, allocations: 477.3 kB / 1.26 GB, free: 173.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00239/1.267, allocations: 0.8026 MB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 3.898e-06/1.267, allocations: 0 / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.00641/1.274, allocations: 1.97 MB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/1.274, allocations: 195.5 kB / 1.263 GB, free: 172.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.275, allocations: 0.6462 MB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.275, allocations: 48.02 kB / 1.264 GB, free: 172.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/1.275, allocations: 448.8 kB / 1.264 GB, free: 172.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/1.276, allocations: 354.8 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003859/1.276, allocations: 202 kB / 1.265 GB, free: 171.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.276, allocations: 398.8 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/1.278, allocations: 0.5012 MB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.279, allocations: 0.6128 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/1.282, allocations: 1.079 MB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.282, allocations: 0 / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00414/1.286, allocations: 1.374 MB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.286, allocations: 6.094 kB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.286, allocations: 1.594 kB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/1.287, allocations: 88.08 kB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.289, allocations: 273.4 kB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/1.291, allocations: 1.631 MB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.292, allocations: 162.4 kB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.292, allocations: 48.44 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.000582/1.293, allocations: 291 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/1.293, allocations: 96.42 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/1.298, allocations: 1.671 MB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/1.298, allocations: 12.19 kB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.298, allocations: 3.938 kB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.298, allocations: 11.34 kB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/1.304, allocations: 2.834 MB / 1.276 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.304, allocations: 0 / 1.276 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/1.305, allocations: 256.2 kB / 1.276 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/1.306, allocations: 72.73 kB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/1.306, allocations: 36.06 kB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/1.308, allocations: 1.66 MB / 1.278 GB, free: 165 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.308, allocations: 9.281 kB / 1.278 GB, free: 165 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004077/1.312, allocations: 1.526 MB / 1.279 GB, free: 164.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/1.312, allocations: 311.4 kB / 1.279 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/1.312, allocations: 27.72 kB / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.314, allocations: 129 kB / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.314, allocations: 82.09 kB / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.314, allocations: 49.27 kB / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006419/1.315, allocations: 469.6 kB / 1.28 GB, free: 163.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.315, allocations: 1.312 kB / 1.28 GB, free: 163.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001406/1.316, allocations: 390.3 kB / 1.281 GB, free: 163.8 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.001496/1.317, allocations: 0.6249 MB / 1.281 GB, free: 163.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003771/1.321, allocations: 1.383 MB / 1.283 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.321, allocations: 5.125 kB / 1.283 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.323, allocations: 0.8184 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.001357/1.325, allocations: 308.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.005202/1.33, allocations: 2.197 MB / 1.286 GB, free: 161.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/1.331, allocations: 1.087 MB / 1.287 GB, free: 160.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001377/1.332, allocations: 338.3 kB / 1.287 GB, free: 160.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/1.333, allocations: 128.4 kB / 1.287 GB, free: 160.8 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.333, allocations: 0 / 1.287 GB, free: 160.8 MB / 1.014 GB Notification: Performance of Templates: time 0.03426/1.367, allocations: 18.41 MB / 1.305 GB, free: 154 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