Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [: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.806/1.806, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009831/0.0009832, allocations: 181.2 kB / 487 MB, free: 5.363 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.152/1.152, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.0008758/0.0008756, allocations: 93.28 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.77e-06/5.941e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.1999, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.659/2.859, allocations: 1.731 GB / 2.936 GB, free: 63.36 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/2.859, allocations: 92.7 kB / 2.936 GB, free: 63.31 MB / 1.135 GB Notification: Performance of FrontEnd: time 0.5227/3.382, allocations: 80.96 MB / 3.015 GB, free: 380.3 MB / 1.135 GB Notification: Performance of Transformations before backend: time 6.066e-05/3.382, allocations: 32.72 kB / 3.015 GB, free: 380.3 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001598/3.383, allocations: 1.304 MB / 3.017 GB, free: 379.7 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/3.383, allocations: 10.47 kB / 3.017 GB, free: 379.7 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/3.384, allocations: 230 kB / 3.017 GB, free: 379.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/3.385, allocations: 0.7193 MB / 3.017 GB, free: 379.3 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/3.385, allocations: 39.16 kB / 3.018 GB, free: 379.3 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.015e-05/3.385, allocations: 65.69 kB / 3.018 GB, free: 379.3 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00134/3.387, allocations: 1.12 MB / 3.019 GB, free: 379.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/3.388, allocations: 0.9376 MB / 3.02 GB, free: 379.1 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/3.388, allocations: 0 / 3.02 GB, free: 379.1 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/3.388, allocations: 7.844 kB / 3.02 GB, free: 379.1 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/3.388, allocations: 33.55 kB / 3.02 GB, free: 379.1 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/3.391, allocations: 2.85 MB / 3.022 GB, free: 378.4 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/3.392, allocations: 0.6888 MB / 3.023 GB, free: 378.3 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/3.392, allocations: 259.1 kB / 3.023 GB, free: 378.3 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/3.392, allocations: 34.75 kB / 3.023 GB, free: 378.3 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/3.393, allocations: 395.6 kB / 3.024 GB, free: 378.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=78): time 1.753e-06/3.393, allocations: 4.719 kB / 3.024 GB, free: 378.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=78): time 0.00133/3.394, allocations: 0.6712 MB / 3.024 GB, free: 378.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/3.394, allocations: 243 kB / 3.025 GB, free: 377.9 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/3.395, allocations: 0.5556 MB / 3.025 GB, free: 377.7 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/3.395, allocations: 33.39 kB / 3.025 GB, free: 377.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/3.395, allocations: 408.8 kB / 3.026 GB, free: 377.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/3.395, allocations: 255.8 kB / 3.026 GB, free: 377.3 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/3.395, allocations: 0 / 3.026 GB, free: 377.3 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/3.395, allocations: 383 kB / 3.026 GB, free: 377 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/3.396, allocations: 203.1 kB / 3.026 GB, free: 377 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/3.396, allocations: 318.5 kB / 3.027 GB, free: 376.9 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/3.396, allocations: 260 kB / 3.027 GB, free: 376.9 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/3.396, allocations: 0 / 3.027 GB, free: 376.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001272/3.398, allocations: 0.6991 MB / 3.028 GB, free: 376.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/3.398, allocations: 5.875 kB / 3.028 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/3.398, allocations: 0 / 3.028 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005701/3.398, allocations: 89.3 kB / 3.028 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/3.399, allocations: 152.8 kB / 3.028 GB, free: 376.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/3.4, allocations: 1.459 MB / 3.029 GB, free: 375.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/3.401, allocations: 62.95 kB / 3.029 GB, free: 375.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/3.401, allocations: 25.84 kB / 3.029 GB, free: 375.5 MB / 1.135 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 (83): * Single equations (assignments): 82 * 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.0001238/3.401, allocations: 126.8 kB / 3.029 GB, free: 375.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/3.401, allocations: 81.5 kB / 3.03 GB, free: 375.4 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/3.403, allocations: 0.9452 MB / 3.03 GB, free: 375.3 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/3.403, allocations: 11.12 kB / 3.03 GB, free: 375.3 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/3.403, allocations: 0 / 3.03 GB, free: 375.3 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/3.403, allocations: 7.25 kB / 3.031 GB, free: 375.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/3.404, allocations: 0.846 MB / 3.031 GB, free: 375.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/3.404, allocations: 2.312 kB / 3.031 GB, free: 375.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/3.404, allocations: 153.4 kB / 3.031 GB, free: 375.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/3.405, allocations: 89.81 kB / 3.032 GB, free: 375.1 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/3.405, allocations: 14.52 kB / 3.032 GB, free: 375.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/3.406, allocations: 1.48 MB / 3.033 GB, free: 373.9 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/3.406, allocations: 0 / 3.033 GB, free: 373.9 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001263/3.407, allocations: 0.7881 MB / 3.034 GB, free: 373.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/3.408, allocations: 284.8 kB / 3.034 GB, free: 373.6 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/3.408, allocations: 0 / 3.034 GB, free: 373.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/3.408, allocations: 57.44 kB / 3.034 GB, free: 373.6 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/3.408, allocations: 50.73 kB / 3.034 GB, free: 373.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/3.408, allocations: 36.94 kB / 3.034 GB, free: 373.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003755/3.409, allocations: 453.2 kB / 3.035 GB, free: 373.5 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0008122/3.41, allocations: 385.6 kB / 3.035 GB, free: 373.4 MB / 1.135 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001271/3.411, allocations: 1.054 MB / 3.036 GB, free: 373.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.000937/3.412, allocations: 0.6888 MB / 3.037 GB, free: 373.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/3.412, allocations: 0 / 3.037 GB, free: 373.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005593/3.412, allocations: 461.5 kB / 3.037 GB, free: 373 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/3.413, allocations: 224.3 kB / 3.037 GB, free: 373 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/3.417, allocations: 1.555 MB / 3.039 GB, free: 372.6 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/3.417, allocations: 1.216 MB / 3.04 GB, free: 371.9 MB / 1.135 GB Notification: Performance of SimCode: time 2.7e-07/3.417, allocations: 0 / 3.04 GB, free: 371.9 MB / 1.135 GB Notification: Performance of Templates: time 0.02771/3.445, allocations: 17.33 MB / 3.057 GB, free: 370.4 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches