Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [: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 9.1.1-maint.9.1.x/package.mo): time 1.749/1.749, allocations: 387.2 MB / 394.5 MB, free: 4.539 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 191 kB / 487 MB, free: 11.09 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 221.3 MB / 0.7819 GB, free: 3.996 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008464/0.0008464, allocations: 90.5 kB / 0.9213 GB, free: 5.098 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.112e-06, allocations: 4 kB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1994, allocations: 142.3 MB / 1.205 GB, free: 14.79 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.653/2.852, allocations: 1.731 GB / 2.936 GB, free: 26.46 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/2.853, allocations: 87.94 kB / 2.936 GB, free: 26.37 MB / 1.143 GB Notification: Performance of FrontEnd: time 0.4658/3.318, allocations: 68.55 MB / 3.003 GB, free: 349.8 MB / 1.143 GB Notification: Performance of Transformations before backend: time 5.401e-05/3.318, allocations: 19.62 kB / 3.003 GB, free: 349.8 MB / 1.143 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001463/3.32, allocations: 1.161 MB / 3.004 GB, free: 349.1 MB / 1.143 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/3.32, allocations: 7.812 kB / 3.004 GB, free: 349.1 MB / 1.143 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009792/3.321, allocations: 226 kB / 3.004 GB, free: 349 MB / 1.143 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007628/3.322, allocations: 0.6327 MB / 3.005 GB, free: 348.7 MB / 1.143 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/3.322, allocations: 34.75 kB / 3.005 GB, free: 348.7 MB / 1.143 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/3.322, allocations: 50.69 kB / 3.005 GB, free: 348.7 MB / 1.143 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001183/3.323, allocations: 1.029 MB / 3.006 GB, free: 348.7 MB / 1.143 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/3.324, allocations: 0.7855 MB / 3.007 GB, free: 348.6 MB / 1.143 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/3.324, allocations: 3.984 kB / 3.007 GB, free: 348.5 MB / 1.143 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/3.324, allocations: 3.969 kB / 3.007 GB, free: 348.5 MB / 1.143 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/3.324, allocations: 19.38 kB / 3.007 GB, free: 348.5 MB / 1.143 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/3.327, allocations: 2.433 MB / 3.009 GB, free: 347.8 MB / 1.143 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/3.328, allocations: 0.7301 MB / 3.01 GB, free: 347.6 MB / 1.143 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/3.328, allocations: 247.8 kB / 3.01 GB, free: 347.6 MB / 1.143 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/3.329, allocations: 474.9 kB / 3.011 GB, free: 347.1 MB / 1.143 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004072/3.329, allocations: 380 kB / 3.011 GB, free: 347.1 MB / 1.143 GB Notification: Performance of pre-optimization done (n=73): time 1.764e-06/3.329, allocations: 0 / 3.011 GB, free: 347.1 MB / 1.143 GB Notification: Performance of matching and sorting (n=73): time 0.001529/3.33, allocations: 0.7108 MB / 3.012 GB, free: 347 MB / 1.143 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/3.331, allocations: 246.9 kB / 3.012 GB, free: 346.7 MB / 1.143 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/3.331, allocations: 0.4924 MB / 3.012 GB, free: 346.6 MB / 1.143 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/3.331, allocations: 29.64 kB / 3.012 GB, free: 346.5 MB / 1.143 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/3.331, allocations: 334 kB / 3.013 GB, free: 346.3 MB / 1.143 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/3.331, allocations: 229 kB / 3.013 GB, free: 346.2 MB / 1.143 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/3.331, allocations: 0 / 3.013 GB, free: 346.2 MB / 1.143 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/3.331, allocations: 378 kB / 3.013 GB, free: 345.9 MB / 1.143 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/3.332, allocations: 192.4 kB / 3.014 GB, free: 345.9 MB / 1.143 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/3.332, allocations: 291.3 kB / 3.014 GB, free: 345.8 MB / 1.143 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/3.332, allocations: 314.2 kB / 3.014 GB, free: 345.8 MB / 1.143 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/3.333, allocations: 0 / 3.014 GB, free: 345.8 MB / 1.143 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001444/3.334, allocations: 0.7195 MB / 3.015 GB, free: 345.7 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/3.334, allocations: 7.719 kB / 3.015 GB, free: 345.7 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/3.334, allocations: 0 / 3.015 GB, free: 345.7 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/3.335, allocations: 82.92 kB / 3.015 GB, free: 345.6 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/3.335, allocations: 139.9 kB / 3.015 GB, free: 345.6 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/3.337, allocations: 1.464 MB / 3.016 GB, free: 344.4 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/3.337, allocations: 65.44 kB / 3.017 GB, free: 344.4 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/3.337, allocations: 27.14 kB / 3.017 GB, free: 344.4 MB / 1.143 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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.0001177/3.337, allocations: 122.4 kB / 3.017 GB, free: 344.2 MB / 1.143 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/3.337, allocations: 74.09 kB / 3.017 GB, free: 344.2 MB / 1.143 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/3.339, allocations: 0.9843 MB / 3.018 GB, free: 344.1 MB / 1.143 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/3.339, allocations: 11.72 kB / 3.018 GB, free: 344.1 MB / 1.143 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/3.339, allocations: 0 / 3.018 GB, free: 344.1 MB / 1.143 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/3.339, allocations: 4.453 kB / 3.018 GB, free: 344.1 MB / 1.143 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/3.342, allocations: 1.787 MB / 3.019 GB, free: 343.7 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/3.342, allocations: 3.906 kB / 3.019 GB, free: 343.7 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/3.342, allocations: 152.6 kB / 3.02 GB, free: 343.7 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004734/3.343, allocations: 80.3 kB / 3.02 GB, free: 343.7 MB / 1.143 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/3.343, allocations: 15.28 kB / 3.02 GB, free: 343.7 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/3.344, allocations: 1.482 MB / 3.021 GB, free: 342.5 MB / 1.143 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/3.344, allocations: 0 / 3.021 GB, free: 342.5 MB / 1.143 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001485/3.346, allocations: 0.8878 MB / 3.022 GB, free: 342.2 MB / 1.143 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/3.346, allocations: 280.7 kB / 3.022 GB, free: 342.1 MB / 1.143 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/3.346, allocations: 8.422 kB / 3.022 GB, free: 342.1 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/3.347, allocations: 58.2 kB / 3.022 GB, free: 342.1 MB / 1.143 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/3.347, allocations: 48.06 kB / 3.022 GB, free: 342.1 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/3.347, allocations: 28.17 kB / 3.022 GB, free: 342.1 MB / 1.143 GB Notification: Performance of sort global known variables: time 0.0003402/3.347, allocations: 408.8 kB / 3.023 GB, free: 342 MB / 1.143 GB Notification: Performance of remove unused functions: time 0.000808/3.348, allocations: 364 kB / 3.023 GB, free: 341.9 MB / 1.143 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 (84): * Single equations (assignments): 81 * 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.001348/3.349, allocations: 1.08 MB / 3.024 GB, free: 341.6 MB / 1.143 GB Notification: Performance of simCode: created initialization part: time 0.0009314/3.35, allocations: 0.6475 MB / 3.025 GB, free: 341.4 MB / 1.143 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/3.35, allocations: 4.031 kB / 3.025 GB, free: 341.4 MB / 1.143 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/3.351, allocations: 447.5 kB / 3.025 GB, free: 341.3 MB / 1.143 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008524/3.352, allocations: 213.2 kB / 3.025 GB, free: 341.3 MB / 1.143 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/3.355, allocations: 1.374 MB / 3.027 GB, free: 341 MB / 1.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/3.356, allocations: 1.138 MB / 3.028 GB, free: 340.2 MB / 1.143 GB Notification: Performance of SimCode: time 2.61e-07/3.356, allocations: 0 / 3.028 GB, free: 340.2 MB / 1.143 GB Notification: Performance of Templates: time 0.02536/3.381, allocations: 17.13 MB / 3.045 GB, free: 337.3 MB / 1.143 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches