Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001069/0.001069, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.008846/0.008846, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003842, allocations: 8 kB / 0.8728 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7338, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005886/0.7397, allocations: 4.967 MB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.9209, allocations: 146.9 MB / 1.171 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008573/0.9218, allocations: 15.94 kB / 1.171 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.9224, allocations: 166.7 kB / 1.172 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.924, allocations: 492.5 kB / 1.172 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.9262, allocations: 0.8217 MB / 1.173 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.9282, allocations: 1.519 MB / 1.174 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.9292, allocations: 0.6987 MB / 1.175 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.9299, allocations: 434.1 kB / 1.175 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.9305, allocations: 0.4896 MB / 1.176 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.222e-05/0.9306, allocations: 32 kB / 1.176 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/0.9315, allocations: 399.7 kB / 1.176 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.9318, allocations: 234.9 kB / 1.176 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.9323, allocations: 0.553 MB / 1.177 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.9343, allocations: 1.744 MB / 1.179 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.9343, allocations: 0 / 1.179 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9343, allocations: 0 / 1.179 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.9343, allocations: 4 kB / 1.179 GB, free: 15.78 MB / 0.9356 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.002931/0.9373, allocations: 1.411 MB / 1.18 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9373, allocations: 8.031 kB / 1.18 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005492/0.9428, allocations: 0.8264 MB / 1.181 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.9442, allocations: 0.8046 MB / 1.182 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.583e-05/0.9443, allocations: 86.14 kB / 1.182 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.9445, allocations: 108 kB / 1.182 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/0.948, allocations: 1.455 MB / 1.183 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.9481, allocations: 4 kB / 1.183 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.9482, allocations: 47.98 kB / 1.183 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.9482, allocations: 28 kB / 1.183 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004858/0.9531, allocations: 1.944 MB / 1.185 GB, free: 8.879 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007041/0.9602, allocations: 3.579 MB / 1.189 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.9637, allocations: 1.393 MB / 1.19 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.9653, allocations: 0.616 MB / 1.191 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.966, allocations: 478.5 kB / 1.191 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002046/0.9681, allocations: 0.8167 MB / 1.192 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=109): time 2.866e-06/0.9681, allocations: 0 / 1.192 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109): time 0.006372/0.9745, allocations: 2 MB / 1.194 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.9746, allocations: 192.9 kB / 1.194 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.9756, allocations: 0.6566 MB / 1.195 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.9757, allocations: 45.7 kB / 1.195 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.9761, allocations: 440.5 kB / 1.195 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.9764, allocations: 362.8 kB / 1.196 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.9765, allocations: 85.66 kB / 1.196 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.9767, allocations: 394.7 kB / 1.196 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.9783, allocations: 0.5133 MB / 1.197 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.9799, allocations: 0.6209 MB / 1.197 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.983, allocations: 1.097 MB / 1.198 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.983, allocations: 0 / 1.198 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00409/0.9871, allocations: 1.387 MB / 1.2 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.9871, allocations: 4 kB / 1.2 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.9872, allocations: 7.984 kB / 1.2 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/0.9878, allocations: 84.89 kB / 1.2 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.9892, allocations: 271.6 kB / 1.2 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.9914, allocations: 1.532 MB / 1.201 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.9929, allocations: 179.1 kB / 1.202 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.993, allocations: 47.95 kB / 1.202 GB, free: 7.57 MB / 0.9512 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.0006068/0.9936, allocations: 292.1 kB / 1.202 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.9938, allocations: 94.86 kB / 1.202 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/0.9986, allocations: 1.688 MB / 1.204 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.9987, allocations: 12 kB / 1.204 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9987, allocations: 3.938 kB / 1.204 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.9987, allocations: 7.969 kB / 1.204 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/1.005, allocations: 2.818 MB / 1.206 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.005, allocations: 0 / 1.206 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.006, allocations: 251.6 kB / 1.207 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005433/1.007, allocations: 100.7 kB / 1.207 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/1.007, allocations: 31.97 kB / 1.207 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/1.009, allocations: 1.544 MB / 1.208 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.009, allocations: 0 / 1.208 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/1.013, allocations: 1.55 MB / 1.21 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005495/1.014, allocations: 331.4 kB / 1.21 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.014, allocations: 20 kB / 1.21 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.015, allocations: 143.9 kB / 1.21 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.015, allocations: 88.81 kB / 1.21 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.015, allocations: 52.03 kB / 1.21 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006151/1.016, allocations: 471 kB / 1.211 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/1.016, allocations: 4 kB / 1.211 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001111/1.017, allocations: 411 kB / 1.211 GB, free: 13.44 MB / 0.9669 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.00146/1.019, allocations: 0.6242 MB / 1.212 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003871/1.022, allocations: 1.405 MB / 1.213 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.022, allocations: 0 / 1.213 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.024, allocations: 0.8203 MB / 1.214 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.026, allocations: 293 kB / 1.214 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/1.031, allocations: 2.644 MB / 1.217 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/1.032, allocations: 1.091 MB / 1.218 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001496/1.033, allocations: 347.7 kB / 1.218 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/1.033, allocations: 123.4 kB / 1.218 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/1.033, allocations: 4 kB / 1.218 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of Templates: time 0.03158/1.065, allocations: 17.43 MB / 1.235 GB, free: 4.984 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches