Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [: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.722/1.722, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009261/0.0009261, allocations: 181.3 kB / 490.8 MB, free: 1.945 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.082/1.082, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0008324/0.0008324, allocations: 88.72 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.18e-06/5.19e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1774, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.38/2.557, allocations: 1.733 GB / 2.945 GB, free: 129.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/2.558, allocations: 87.95 kB / 2.945 GB, free: 129.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1568/2.714, allocations: 84.48 MB / 3.027 GB, free: 45.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.215e-05/2.715, allocations: 32 kB / 3.027 GB, free: 45 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.001726/2.716, allocations: 1.365 MB / 3.029 GB, free: 43.58 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/2.716, allocations: 12.03 kB / 3.029 GB, free: 43.57 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008209/2.717, allocations: 242 kB / 3.029 GB, free: 43.33 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009002/2.718, allocations: 0.7444 MB / 3.03 GB, free: 42.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/2.718, allocations: 80.19 kB / 3.03 GB, free: 42.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/2.718, allocations: 75.89 kB / 3.03 GB, free: 42.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001523/2.72, allocations: 1.273 MB / 3.031 GB, free: 41.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/2.721, allocations: 1.058 MB / 3.032 GB, free: 39.99 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/2.721, allocations: 0 / 3.032 GB, free: 39.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/2.721, allocations: 0 / 3.032 GB, free: 39.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/2.721, allocations: 32 kB / 3.032 GB, free: 39.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004158/2.725, allocations: 3.567 MB / 3.036 GB, free: 36.28 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009156/2.726, allocations: 0.8062 MB / 3.036 GB, free: 35.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/2.727, allocations: 327.1 kB / 3.037 GB, free: 35.14 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/2.727, allocations: 36.72 kB / 3.037 GB, free: 35.11 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005497/2.727, allocations: 491.8 kB / 3.037 GB, free: 34.61 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 1.853e-06/2.727, allocations: 0 / 3.037 GB, free: 34.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.00155/2.729, allocations: 0.8304 MB / 3.038 GB, free: 33.77 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/2.729, allocations: 244.1 kB / 3.038 GB, free: 33.47 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/2.729, allocations: 0.5779 MB / 3.039 GB, free: 32.89 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/2.73, allocations: 25.7 kB / 3.039 GB, free: 32.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/2.73, allocations: 435.6 kB / 3.039 GB, free: 32.42 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/2.73, allocations: 291.6 kB / 3.04 GB, free: 32.13 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/2.73, allocations: 0 / 3.04 GB, free: 32.13 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/2.73, allocations: 390.7 kB / 3.04 GB, free: 31.74 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/2.73, allocations: 274 kB / 3.04 GB, free: 31.48 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/2.731, allocations: 386.3 kB / 3.041 GB, free: 31.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/2.731, allocations: 350.8 kB / 3.041 GB, free: 30.72 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/2.731, allocations: 3.906 kB / 3.041 GB, free: 30.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001507/2.733, allocations: 0.8703 MB / 3.042 GB, free: 29.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.517e-06/2.733, allocations: 4 kB / 3.042 GB, free: 29.83 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/2.733, allocations: 80 / 3.042 GB, free: 29.83 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/2.733, allocations: 88.83 kB / 3.042 GB, free: 29.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/2.734, allocations: 191.6 kB / 3.042 GB, free: 29.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/2.736, allocations: 1.477 MB / 3.043 GB, free: 27.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/2.736, allocations: 67.39 kB / 3.044 GB, free: 27.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/2.736, allocations: 40.03 kB / 3.044 GB, free: 27.85 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 (102): * Single equations (assignments): 101 * 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.0001349/2.736, allocations: 128.7 kB / 3.044 GB, free: 27.71 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/2.736, allocations: 86.95 kB / 3.044 GB, free: 27.63 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/2.739, allocations: 1.197 MB / 3.045 GB, free: 26.42 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/2.739, allocations: 12 kB / 3.045 GB, free: 26.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/2.739, allocations: 0 / 3.045 GB, free: 26.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/2.739, allocations: 7.922 kB / 3.045 GB, free: 26.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/2.741, allocations: 2.224 MB / 3.047 GB, free: 24.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/2.741, allocations: 0 / 3.047 GB, free: 24.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/2.742, allocations: 179.7 kB / 3.047 GB, free: 23.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/2.743, allocations: 84.78 kB / 3.047 GB, free: 23.87 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/2.743, allocations: 19.98 kB / 3.047 GB, free: 23.85 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/2.744, allocations: 1.489 MB / 3.049 GB, free: 22.24 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.744, allocations: 8 kB / 3.049 GB, free: 22.23 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001405/2.745, allocations: 1.002 MB / 3.05 GB, free: 21.21 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/2.746, allocations: 339.4 kB / 3.05 GB, free: 20.86 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/2.746, allocations: 4 kB / 3.05 GB, free: 20.85 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/2.747, allocations: 63.94 kB / 3.05 GB, free: 20.79 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/2.747, allocations: 60.91 kB / 3.05 GB, free: 20.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.326e-05/2.747, allocations: 39.97 kB / 3.05 GB, free: 20.69 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004141/2.747, allocations: 495.1 kB / 3.051 GB, free: 20.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008098/2.748, allocations: 410.5 kB / 3.051 GB, free: 19.81 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 (107): * Single equations (assignments): 104 * 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.001228/2.749, allocations: 1.048 MB / 3.052 GB, free: 18.86 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001088/2.75, allocations: 0.8461 MB / 3.053 GB, free: 18 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/2.75, allocations: 0 / 3.053 GB, free: 18 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/2.751, allocations: 0.525 MB / 3.054 GB, free: 17.47 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/2.752, allocations: 222.1 kB / 3.054 GB, free: 17.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003266/2.755, allocations: 1.712 MB / 3.055 GB, free: 15.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/2.756, allocations: 1.282 MB / 3.057 GB, free: 14.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/2.756, allocations: 0 / 3.057 GB, free: 14.2 MB / 1.151 GB Notification: Performance of Templates: time 0.2829/3.039, allocations: 19.45 MB / 3.076 GB, free: 0.5097 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches