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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001218, allocations: 180.9 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 107.5 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.851e-05, allocations: 5.688 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4299, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.154/4.584, allocations: 1.732 GB / 2.938 GB, free: 151.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/4.584, allocations: 97.77 kB / 2.938 GB, free: 151.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1419/4.726, allocations: 68.89 MB / 3.006 GB, free: 82.59 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/4.726, allocations: 4 kB / 3.006 GB, free: 82.59 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001091/4.726, allocations: 24 kB / 3.006 GB, free: 82.57 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002627/4.729, allocations: 1.259 MB / 3.007 GB, free: 81.25 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/4.729, allocations: 8.031 kB / 3.007 GB, free: 81.24 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/4.733, allocations: 0.6891 MB / 3.007 GB, free: 80.55 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/4.734, allocations: 0.6775 MB / 3.008 GB, free: 79.83 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/4.734, allocations: 36 kB / 3.008 GB, free: 79.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/4.734, allocations: 56 kB / 3.008 GB, free: 79.74 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002016/4.736, allocations: 1.421 MB / 3.01 GB, free: 78.32 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/4.738, allocations: 1.028 MB / 3.011 GB, free: 77.23 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/4.738, allocations: 3.984 kB / 3.011 GB, free: 77.22 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/4.738, allocations: 4 kB / 3.011 GB, free: 77.22 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/4.738, allocations: 28 kB / 3.011 GB, free: 77.19 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005619/4.744, allocations: 2.952 MB / 3.014 GB, free: 74.18 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/4.745, allocations: 0.9935 MB / 3.014 GB, free: 73.15 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/4.746, allocations: 424.8 kB / 3.015 GB, free: 72.74 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/4.746, allocations: 482.3 kB / 3.015 GB, free: 72.18 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000806/4.747, allocations: 0.5806 MB / 3.016 GB, free: 71.57 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 3.025e-06/4.747, allocations: 0 / 3.016 GB, free: 71.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.00442/4.752, allocations: 1.473 MB / 3.017 GB, free: 70.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/4.752, allocations: 244.6 kB / 3.018 GB, free: 69.79 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/4.752, allocations: 0.4983 MB / 3.018 GB, free: 69.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/4.753, allocations: 25.7 kB / 3.018 GB, free: 69.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/4.753, allocations: 424.3 kB / 3.019 GB, free: 68.84 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/4.753, allocations: 323.2 kB / 3.019 GB, free: 68.52 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/4.753, allocations: 0 / 3.019 GB, free: 68.52 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/4.753, allocations: 374.8 kB / 3.019 GB, free: 68.14 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/4.754, allocations: 318.6 kB / 3.019 GB, free: 67.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/4.754, allocations: 441.2 kB / 3.02 GB, free: 67.37 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/4.757, allocations: 0.8806 MB / 3.021 GB, free: 66.49 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/4.757, allocations: 0 / 3.021 GB, free: 66.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004329/4.762, allocations: 1.481 MB / 3.022 GB, free: 65 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/4.762, allocations: 4 kB / 3.022 GB, free: 65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/4.762, allocations: 0 / 3.022 GB, free: 65 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/4.762, allocations: 88.86 kB / 3.022 GB, free: 64.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/4.763, allocations: 243.6 kB / 3.023 GB, free: 64.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/4.765, allocations: 1.454 MB / 3.024 GB, free: 63.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/4.766, allocations: 127.4 kB / 3.024 GB, free: 62.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/4.766, allocations: 35.97 kB / 3.024 GB, free: 62.93 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001966/4.766, allocations: 120.9 kB / 3.024 GB, free: 62.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/4.767, allocations: 90.86 kB / 3.024 GB, free: 62.71 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/4.771, allocations: 1.791 MB / 3.026 GB, free: 60.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/4.772, allocations: 8 kB / 3.026 GB, free: 60.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/4.772, allocations: 3.938 kB / 3.026 GB, free: 60.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/4.772, allocations: 11.97 kB / 3.026 GB, free: 60.89 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005821/4.777, allocations: 2.816 MB / 3.029 GB, free: 58.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/4.777, allocations: 0 / 3.029 GB, free: 58.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/4.779, allocations: 255.6 kB / 3.029 GB, free: 57.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/4.779, allocations: 80.78 kB / 3.029 GB, free: 57.69 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-05/4.779, allocations: 19.97 kB / 3.029 GB, free: 57.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/4.781, allocations: 1.485 MB / 3.031 GB, free: 56.07 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/4.781, allocations: 0 / 3.031 GB, free: 56.07 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004371/4.785, allocations: 1.661 MB / 3.032 GB, free: 54.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/4.785, allocations: 323.5 kB / 3.033 GB, free: 54.05 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/4.786, allocations: 4 kB / 3.033 GB, free: 54.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/4.787, allocations: 107.8 kB / 3.033 GB, free: 53.94 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/4.787, allocations: 77.2 kB / 3.033 GB, free: 53.87 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/4.787, allocations: 39.97 kB / 3.033 GB, free: 53.83 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003968/4.787, allocations: 406.9 kB / 3.033 GB, free: 53.43 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.787, allocations: 0 / 3.033 GB, free: 53.43 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001216/4.789, allocations: 402.8 kB / 3.034 GB, free: 53.04 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/4.79, allocations: 1.109 MB / 3.035 GB, free: 52.03 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001365/4.792, allocations: 0.9724 MB / 3.036 GB, free: 51.05 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/4.792, allocations: 0 / 3.036 GB, free: 51.05 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/4.792, allocations: 0.6237 MB / 3.036 GB, free: 50.42 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/4.793, allocations: 211.3 kB / 3.036 GB, free: 50.22 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/4.796, allocations: 1.551 MB / 3.038 GB, free: 48.64 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/4.797, allocations: 1.082 MB / 3.039 GB, free: 47.54 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001358/4.798, allocations: 338.6 kB / 3.039 GB, free: 47.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/4.799, allocations: 115.4 kB / 3.039 GB, free: 47.09 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/4.799, allocations: 0 / 3.039 GB, free: 47.09 MB / 1.151 GB Notification: Performance of Templates: time 0.02387/4.822, allocations: 18.14 MB / 3.057 GB, free: 29.09 MB / 1.151 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","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches