Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.542/2.542, allocations: 390.5 MB / 398 MB, free: 10.92 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.001567/0.001567, allocations: 184.8 kB / 491.2 MB, free: 1.566 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.753/1.753, allocations: 221.5 MB / 0.7868 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 91.8 kB / 0.9269 GB, free: 13.9 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.253e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3374, allocations: 143 MB / 1.212 GB, free: 39.6 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.471/4.808, allocations: 1.733 GB / 2.945 GB, free: 105.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/4.809, allocations: 93.19 kB / 2.945 GB, free: 105.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1463/4.955, allocations: 68.9 MB / 3.013 GB, free: 42.04 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.044e-06/4.955, allocations: 0 / 3.013 GB, free: 42.04 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.346e-05/4.955, allocations: 28 kB / 3.013 GB, free: 42.01 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.002207/4.957, allocations: 1.263 MB / 3.014 GB, free: 40.69 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/4.957, allocations: 8.031 kB / 3.014 GB, free: 40.68 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/4.962, allocations: 0.6852 MB / 3.015 GB, free: 39.99 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/4.963, allocations: 0.6775 MB / 3.015 GB, free: 39.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/4.963, allocations: 32 kB / 3.015 GB, free: 39.24 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/4.963, allocations: 64 kB / 3.015 GB, free: 39.18 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001962/4.965, allocations: 1.425 MB / 3.017 GB, free: 37.75 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/4.967, allocations: 1.016 MB / 3.018 GB, free: 36.67 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/4.967, allocations: 7.938 kB / 3.018 GB, free: 36.66 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/4.967, allocations: 4 kB / 3.018 GB, free: 36.66 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/4.967, allocations: 24 kB / 3.018 GB, free: 36.64 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005115/4.972, allocations: 2.944 MB / 3.021 GB, free: 33.63 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/4.973, allocations: 1.002 MB / 3.022 GB, free: 32.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/4.974, allocations: 424.4 kB / 3.022 GB, free: 32.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/4.974, allocations: 478.4 kB / 3.022 GB, free: 31.62 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008184/4.975, allocations: 0.5805 MB / 3.023 GB, free: 31.03 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 4.228e-06/4.975, allocations: 0 / 3.023 GB, free: 31.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.004733/4.98, allocations: 1.481 MB / 3.025 GB, free: 29.54 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/4.98, allocations: 240.6 kB / 3.025 GB, free: 29.24 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/4.981, allocations: 0.4945 MB / 3.025 GB, free: 28.74 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.103e-05/4.981, allocations: 25.7 kB / 3.025 GB, free: 28.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/4.981, allocations: 428.2 kB / 3.026 GB, free: 28.29 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/4.981, allocations: 315.2 kB / 3.026 GB, free: 27.97 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/4.981, allocations: 0 / 3.026 GB, free: 27.97 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/4.981, allocations: 382.8 kB / 3.026 GB, free: 27.59 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/4.982, allocations: 318.6 kB / 3.027 GB, free: 27.28 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/4.982, allocations: 437.2 kB / 3.027 GB, free: 26.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003079/4.986, allocations: 0.8845 MB / 3.028 GB, free: 25.94 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/4.986, allocations: 0 / 3.028 GB, free: 25.94 MB / 1.151 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004399/4.99, allocations: 1.469 MB / 3.029 GB, free: 24.46 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/4.99, allocations: 8 kB / 3.029 GB, free: 24.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/4.99, allocations: 0 / 3.029 GB, free: 24.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/4.991, allocations: 80.88 kB / 3.029 GB, free: 24.37 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/4.992, allocations: 255.5 kB / 3.03 GB, free: 24.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/4.993, allocations: 1.457 MB / 3.031 GB, free: 22.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/4.995, allocations: 127.4 kB / 3.031 GB, free: 22.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.842e-05/4.995, allocations: 39.97 kB / 3.031 GB, free: 22.38 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.0002155/4.995, allocations: 125.8 kB / 3.031 GB, free: 22.25 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/4.995, allocations: 82.92 kB / 3.031 GB, free: 22.16 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/5, allocations: 1.791 MB / 3.033 GB, free: 20.36 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/5, allocations: 15.94 kB / 3.033 GB, free: 20.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/5, allocations: 0 / 3.033 GB, free: 20.34 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/5, allocations: 7.969 kB / 3.033 GB, free: 20.34 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006118/5.006, allocations: 2.818 MB / 3.036 GB, free: 17.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/5.006, allocations: 0 / 3.036 GB, free: 17.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/5.008, allocations: 255.6 kB / 3.036 GB, free: 17.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/5.008, allocations: 80.78 kB / 3.036 GB, free: 17.14 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.774e-05/5.008, allocations: 23.97 kB / 3.036 GB, free: 17.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/5.01, allocations: 1.481 MB / 3.038 GB, free: 15.51 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.01, allocations: 4.062 kB / 3.038 GB, free: 15.51 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004653/5.014, allocations: 1.661 MB / 3.039 GB, free: 13.83 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/5.015, allocations: 319.5 kB / 3.04 GB, free: 13.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/5.015, allocations: 0 / 3.04 GB, free: 13.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/5.016, allocations: 111.9 kB / 3.04 GB, free: 13.39 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/5.016, allocations: 81.16 kB / 3.04 GB, free: 13.31 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/5.017, allocations: 35.97 kB / 3.04 GB, free: 13.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004576/5.017, allocations: 406.9 kB / 3.04 GB, free: 12.88 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.11e-07/5.017, allocations: 3.938 kB / 3.04 GB, free: 12.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001225/5.018, allocations: 402.8 kB / 3.041 GB, free: 12.48 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.001835/5.02, allocations: 1.105 MB / 3.042 GB, free: 11.47 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001467/5.022, allocations: 0.9685 MB / 3.043 GB, free: 10.49 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/5.022, allocations: 0 / 3.043 GB, free: 10.49 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008291/5.022, allocations: 0.6238 MB / 3.043 GB, free: 9.863 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/5.024, allocations: 210.1 kB / 3.044 GB, free: 9.66 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/5.027, allocations: 1.561 MB / 3.045 GB, free: 8.078 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/5.028, allocations: 1.084 MB / 3.046 GB, free: 6.969 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001416/5.029, allocations: 334.6 kB / 3.046 GB, free: 6.637 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/5.029, allocations: 107.4 kB / 3.047 GB, free: 6.531 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/5.029, allocations: 0 / 3.047 GB, free: 6.531 MB / 1.151 GB Notification: Performance of Templates: time 0.5448/5.574, allocations: 18.12 MB / 3.064 GB, free: 386 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches