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.007128/0.007128, allocations: 99.84 kB / 15.73 MB, free: 6.492 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.001667/0.001667, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.739/2.739, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 75.88 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3083, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006827/0.3152, allocations: 5.408 MB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8992/1.214, allocations: 150.8 MB / 1.319 GB, free: 9.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/1.216, allocations: 24.16 kB / 1.319 GB, free: 9.719 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/1.217, allocations: 210.7 kB / 1.319 GB, free: 9.602 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002835/1.22, allocations: 0.5758 MB / 1.32 GB, free: 9.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/1.223, allocations: 0.9484 MB / 1.321 GB, free: 9.172 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003084/1.226, allocations: 1.62 MB / 1.322 GB, free: 8.875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/1.228, allocations: 0.7465 MB / 1.323 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/1.23, allocations: 0.5965 MB / 1.324 GB, free: 8.547 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/1.231, allocations: 0.6502 MB / 1.324 GB, free: 8.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006941/1.232, allocations: 142.6 kB / 1.325 GB, free: 8.387 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/1.234, allocations: 0.5225 MB / 1.325 GB, free: 8.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007886/1.235, allocations: 357.2 kB / 1.325 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/1.237, allocations: 0.6755 MB / 1.326 GB, free: 7.594 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005334/1.242, allocations: 1.92 MB / 1.328 GB, free: 6.781 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/1.242, allocations: 0.75 kB / 1.328 GB, free: 6.781 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.324e-06/1.242, allocations: 1.406 kB / 1.328 GB, free: 6.781 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.874e-05/1.242, allocations: 4 kB / 1.328 GB, free: 6.777 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.006523/1.249, allocations: 1.716 MB / 1.33 GB, free: 5.664 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.249, allocations: 9 kB / 1.33 GB, free: 5.664 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005788/1.255, allocations: 0.7634 MB / 1.33 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/1.257, allocations: 0.8322 MB / 1.331 GB, free: 5.027 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/1.257, allocations: 88.55 kB / 1.331 GB, free: 4.984 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/1.258, allocations: 103.2 kB / 1.331 GB, free: 4.953 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005117/1.263, allocations: 1.433 MB / 1.333 GB, free: 4.379 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/1.263, allocations: 1.281 kB / 1.333 GB, free: 4.379 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/1.263, allocations: 50.36 kB / 1.333 GB, free: 4.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/1.263, allocations: 29.84 kB / 1.333 GB, free: 4.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005498/1.269, allocations: 1.887 MB / 1.335 GB, free: 3.91 MB / 1.014 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.008024/1.277, allocations: 3.511 MB / 1.338 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00382/1.28, allocations: 1.368 MB / 1.339 GB, free: 1.375 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/1.282, allocations: 0.6076 MB / 1.34 GB, free: 1.148 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007315/1.283, allocations: 474.2 kB / 1.34 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002028/1.285, allocations: 0.8123 MB / 1.341 GB, free: 384 kB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 7.223e-06/1.285, allocations: 4 kB / 1.341 GB, free: 380 kB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006744/1.292, allocations: 1.975 MB / 1.343 GB, free: 15.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.292, allocations: 194.4 kB / 1.343 GB, free: 15.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.293, allocations: 0.6499 MB / 1.344 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/1.293, allocations: 51.64 kB / 1.344 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/1.294, allocations: 447.8 kB / 1.345 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/1.294, allocations: 374.1 kB / 1.345 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/1.294, allocations: 211.6 kB / 1.345 GB, free: 14.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.295, allocations: 394 kB / 1.345 GB, free: 14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/1.296, allocations: 0.5015 MB / 1.346 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/1.298, allocations: 0.6118 MB / 1.347 GB, free: 13.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/1.301, allocations: 1.084 MB / 1.348 GB, free: 13.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/1.301, allocations: 5.125 kB / 1.348 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0045/1.306, allocations: 1.38 MB / 1.349 GB, free: 12.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.306, allocations: 8.531 kB / 1.349 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.306, allocations: 1.438 kB / 1.349 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006458/1.306, allocations: 84.08 kB / 1.349 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/1.308, allocations: 269.1 kB / 1.349 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/1.31, allocations: 1.647 MB / 1.351 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/1.312, allocations: 167.9 kB / 1.351 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/1.312, allocations: 49.67 kB / 1.351 GB, free: 10.91 MB / 1.029 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.000779/1.313, allocations: 288.5 kB / 1.351 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/1.313, allocations: 100.4 kB / 1.351 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/1.318, allocations: 1.676 MB / 1.353 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.318, allocations: 19.06 kB / 1.353 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.318, allocations: 0 / 1.353 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.318, allocations: 3.984 kB / 1.353 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006588/1.325, allocations: 2.796 MB / 1.356 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.325, allocations: 9.031 kB / 1.356 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.326, allocations: 252.4 kB / 1.356 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004824/1.327, allocations: 69.91 kB / 1.356 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/1.327, allocations: 37.53 kB / 1.356 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/1.329, allocations: 1.665 MB / 1.358 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.329, allocations: 0 / 1.358 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/1.333, allocations: 1.542 MB / 1.359 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/1.334, allocations: 319 kB / 1.36 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/1.334, allocations: 21.97 kB / 1.36 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.336, allocations: 128.8 kB / 1.36 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/1.336, allocations: 86.75 kB / 1.36 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.336, allocations: 49.72 kB / 1.36 GB, free: 4.922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007705/1.337, allocations: 472.6 kB / 1.36 GB, free: 4.652 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.337, allocations: 0 / 1.36 GB, free: 4.652 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00144/1.338, allocations: 402.2 kB / 1.361 GB, free: 4.539 MB / 1.029 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.001792/1.34, allocations: 0.6407 MB / 1.361 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003948/1.344, allocations: 1.389 MB / 1.363 GB, free: 3.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.344, allocations: 0 / 1.363 GB, free: 3.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/1.346, allocations: 0.8301 MB / 1.364 GB, free: 3.094 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.348, allocations: 310.1 kB / 1.364 GB, free: 2.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/1.353, allocations: 2.118 MB / 1.366 GB, free: 1.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009023/1.354, allocations: 1.096 MB / 1.367 GB, free: 0.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00152/1.355, allocations: 340.9 kB / 1.367 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/1.356, allocations: 125.3 kB / 1.367 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/1.356, allocations: 0 / 1.367 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of Templates: time 0.03455/1.39, allocations: 18.5 MB / 1.386 GB, free: 3.738 MB / 1.045 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