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.007275/0.007275, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001698/0.001698, allocations: 190.4 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 61.05 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006939/0.3366, allocations: 4.65 MB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.5062, allocations: 150.7 MB / 1.24 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009743/0.5072, allocations: 27.81 kB / 1.24 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.5078, allocations: 190.2 kB / 1.24 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.5095, allocations: 0.5188 MB / 1.24 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.5118, allocations: 0.9347 MB / 1.241 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001645/0.5134, allocations: 1.5 MB / 1.243 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.5145, allocations: 0.7898 MB / 1.244 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007211/0.5152, allocations: 0.5684 MB / 1.244 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006576/0.5159, allocations: 0.6262 MB / 1.245 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.516, allocations: 148 kB / 1.245 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.5171, allocations: 0.523 MB / 1.245 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.5174, allocations: 354.9 kB / 1.246 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.5179, allocations: 0.6451 MB / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.5199, allocations: 1.877 MB / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5199, allocations: 0 / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5199, allocations: 0 / 1.248 GB, free: 12.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.52, allocations: 3.938 kB / 1.248 GB, free: 12.76 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.0032/0.5232, allocations: 1.653 MB / 1.25 GB, free: 11.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5232, allocations: 8.031 kB / 1.25 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00532/0.5285, allocations: 0.7561 MB / 1.251 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.53, allocations: 0.8396 MB / 1.251 GB, free: 9.398 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.5301, allocations: 78.2 kB / 1.251 GB, free: 9.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.5303, allocations: 108 kB / 1.252 GB, free: 9.215 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.5337, allocations: 1.428 MB / 1.253 GB, free: 7.723 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.5337, allocations: 7.938 kB / 1.253 GB, free: 7.715 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.5338, allocations: 48 kB / 1.253 GB, free: 7.668 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.5339, allocations: 28 kB / 1.253 GB, free: 7.641 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004721/0.5386, allocations: 1.885 MB / 1.255 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00629/0.5449, allocations: 3.233 MB / 1.258 GB, free: 2.445 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003526/0.5485, allocations: 1.382 MB / 1.259 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.55, allocations: 0.5933 MB / 1.26 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6776/1.228, allocations: 474.3 kB / 1.26 GB, free: 173.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002596/1.23, allocations: 0.8029 MB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 4.108e-06/1.23, allocations: 0 / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006981/1.237, allocations: 1.967 MB / 1.263 GB, free: 173 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/1.237, allocations: 200.7 kB / 1.263 GB, free: 172.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.239, allocations: 0.6482 MB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/1.239, allocations: 43.58 kB / 1.264 GB, free: 172.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/1.239, allocations: 443.1 kB / 1.264 GB, free: 172.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/1.239, allocations: 355.2 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/1.24, allocations: 206.4 kB / 1.265 GB, free: 171.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.24, allocations: 397.9 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/1.242, allocations: 0.5018 MB / 1.266 GB, free: 171.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/1.243, allocations: 0.611 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/1.247, allocations: 1.081 MB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.247, allocations: 4.156 kB / 1.267 GB, free: 170.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004544/1.251, allocations: 1.367 MB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.251, allocations: 6.344 kB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.251, allocations: 1.625 kB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/1.252, allocations: 87.61 kB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/1.253, allocations: 273.3 kB / 1.269 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.255, allocations: 1.626 MB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.257, allocations: 163.2 kB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/1.257, allocations: 47.8 kB / 1.271 GB, free: 168.7 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.0006685/1.258, allocations: 298.3 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/1.258, allocations: 92.8 kB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005608/1.264, allocations: 1.682 MB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.264, allocations: 12.03 kB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.264, allocations: 6.016 kB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/1.264, allocations: 6.094 kB / 1.273 GB, free: 167.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006832/1.271, allocations: 2.828 MB / 1.276 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.271, allocations: 0.6562 kB / 1.276 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.272, allocations: 255.8 kB / 1.276 GB, free: 166.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/1.273, allocations: 75.44 kB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.273, allocations: 35.66 kB / 1.276 GB, free: 166.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/1.274, allocations: 1.664 MB / 1.278 GB, free: 165 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.275, allocations: 1.109 kB / 1.278 GB, free: 165 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/1.279, allocations: 1.526 MB / 1.279 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006511/1.28, allocations: 315.4 kB / 1.279 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/1.28, allocations: 28.22 kB / 1.279 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.281, allocations: 122.3 kB / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/1.281, allocations: 85.42 kB / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.282, allocations: 50.36 kB / 1.28 GB, free: 164.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000668/1.282, allocations: 470.3 kB / 1.28 GB, free: 163.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.282, allocations: 0.9688 kB / 1.28 GB, free: 163.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001237/1.284, allocations: 391.6 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.001479/1.285, allocations: 0.6248 MB / 1.281 GB, free: 163.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004292/1.289, allocations: 1.387 MB / 1.283 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.289, allocations: 1.062 kB / 1.283 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/1.292, allocations: 0.8191 MB / 1.283 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/1.294, allocations: 310.3 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.007434/1.302, allocations: 2.195 MB / 1.286 GB, free: 161.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/1.303, allocations: 1.085 MB / 1.287 GB, free: 160.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001722/1.304, allocations: 336.9 kB / 1.287 GB, free: 160.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/1.305, allocations: 125.5 kB / 1.287 GB, free: 160.8 MB / 1.014 GB Notification: Performance of SimCode: time 4.288e-06/1.305, allocations: 3.938 kB / 1.287 GB, free: 160.8 MB / 1.014 GB Notification: Performance of Templates: time 0.03978/1.345, allocations: 18.42 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