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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.731/1.731, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.0009151/0.0009151, allocations: 177.3 kB / 490.8 MB, free: 1.973 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.092/1.092, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0008518/0.0008518, allocations: 91.28 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.825e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.171, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.356/2.527, allocations: 1.733 GB / 2.945 GB, free: 112.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/2.528, allocations: 94.62 kB / 2.945 GB, free: 112.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1322/2.66, allocations: 70.27 MB / 3.013 GB, free: 48.25 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.254e-05/2.66, allocations: 27.94 kB / 3.013 GB, free: 48.22 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.001859/2.662, allocations: 1.298 MB / 3.015 GB, free: 46.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/2.662, allocations: 11.97 kB / 3.015 GB, free: 46.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/2.666, allocations: 0.7748 MB / 3.015 GB, free: 46.07 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009023/2.667, allocations: 0.6736 MB / 3.016 GB, free: 45.36 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/2.667, allocations: 43.91 kB / 3.016 GB, free: 45.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/2.667, allocations: 64 kB / 3.016 GB, free: 45.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001804/2.669, allocations: 1.417 MB / 3.017 GB, free: 43.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/2.67, allocations: 1.024 MB / 3.018 GB, free: 42.74 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/2.67, allocations: 0 / 3.018 GB, free: 42.74 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/2.67, allocations: 0 / 3.018 GB, free: 42.74 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/2.67, allocations: 28 kB / 3.018 GB, free: 42.71 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/2.675, allocations: 2.972 MB / 3.021 GB, free: 39.69 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/2.676, allocations: 0.9763 MB / 3.022 GB, free: 38.68 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/2.677, allocations: 434.2 kB / 3.023 GB, free: 38.25 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/2.677, allocations: 482.4 kB / 3.023 GB, free: 37.69 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/2.678, allocations: 0.5648 MB / 3.024 GB, free: 37.11 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 2.364e-06/2.678, allocations: 4 kB / 3.024 GB, free: 37.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.001975/2.68, allocations: 0.9991 MB / 3.025 GB, free: 36.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/2.68, allocations: 244.3 kB / 3.025 GB, free: 35.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/2.68, allocations: 0.5023 MB / 3.025 GB, free: 35.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/2.68, allocations: 25.7 kB / 3.025 GB, free: 35.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/2.68, allocations: 348.2 kB / 3.026 GB, free: 34.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/2.681, allocations: 315.2 kB / 3.026 GB, free: 34.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/2.681, allocations: 0 / 3.026 GB, free: 34.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/2.681, allocations: 382.8 kB / 3.026 GB, free: 34.21 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/2.681, allocations: 314 kB / 3.027 GB, free: 33.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/2.682, allocations: 446.3 kB / 3.027 GB, free: 33.44 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/2.682, allocations: 426.8 kB / 3.028 GB, free: 33.02 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/2.682, allocations: 0 / 3.028 GB, free: 33.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001881/2.684, allocations: 1.011 MB / 3.029 GB, free: 32 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/2.684, allocations: 8 kB / 3.029 GB, free: 32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/2.684, allocations: 96 / 3.029 GB, free: 32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/2.685, allocations: 88.72 kB / 3.029 GB, free: 31.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/2.686, allocations: 247.7 kB / 3.029 GB, free: 31.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/2.688, allocations: 1.457 MB / 3.03 GB, free: 30.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/2.689, allocations: 135.3 kB / 3.03 GB, free: 29.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/2.689, allocations: 39.97 kB / 3.031 GB, free: 29.91 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.0001633/2.689, allocations: 124.8 kB / 3.031 GB, free: 29.78 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/2.689, allocations: 82.97 kB / 3.031 GB, free: 29.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/2.692, allocations: 1.368 MB / 3.032 GB, free: 28.32 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/2.692, allocations: 12 kB / 3.032 GB, free: 28.31 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/2.692, allocations: 7.938 kB / 3.032 GB, free: 28.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/2.692, allocations: 3.984 kB / 3.032 GB, free: 28.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/2.695, allocations: 2.351 MB / 3.034 GB, free: 25.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/2.695, allocations: 0 / 3.034 GB, free: 25.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/2.696, allocations: 251.7 kB / 3.035 GB, free: 25.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/2.697, allocations: 84.78 kB / 3.035 GB, free: 25.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/2.697, allocations: 23.88 kB / 3.035 GB, free: 25.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/2.698, allocations: 1.485 MB / 3.036 GB, free: 23.94 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/2.698, allocations: 0 / 3.036 GB, free: 23.94 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001893/2.7, allocations: 1.189 MB / 3.037 GB, free: 22.73 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/2.7, allocations: 319.6 kB / 3.038 GB, free: 22.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/2.7, allocations: 0 / 3.038 GB, free: 22.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/2.702, allocations: 115.9 kB / 3.038 GB, free: 22.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/2.702, allocations: 64.81 kB / 3.038 GB, free: 22.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/2.702, allocations: 43.97 kB / 3.038 GB, free: 22.18 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003167/2.702, allocations: 410.9 kB / 3.038 GB, free: 21.78 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008837/2.703, allocations: 402.9 kB / 3.039 GB, free: 21.39 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.001323/2.704, allocations: 1.09 MB / 3.04 GB, free: 20.39 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00127/2.706, allocations: 0.9714 MB / 3.041 GB, free: 19.41 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/2.706, allocations: 3.938 kB / 3.041 GB, free: 19.41 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007702/2.706, allocations: 0.6223 MB / 3.041 GB, free: 18.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008312/2.707, allocations: 206.7 kB / 3.041 GB, free: 18.58 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/2.71, allocations: 1.623 MB / 3.043 GB, free: 16.93 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000847/2.711, allocations: 1.219 MB / 3.044 GB, free: 15.68 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/2.711, allocations: 0 / 3.044 GB, free: 15.68 MB / 1.151 GB Notification: Performance of Templates: time 0.2829/2.994, allocations: 21.29 MB / 3.065 GB, free: 0.5072 GB / 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