Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") [: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.22 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.0009042/0.0009042, allocations: 170.8 kB / 490.8 MB, free: 1.902 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.081/1.081, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008374/0.0008374, allocations: 83.31 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.499e-06/4.519e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1685, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.368/2.536, allocations: 1.736 GB / 2.947 GB, free: 117.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/2.536, allocations: 87.39 kB / 2.947 GB, free: 117.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.2322/2.769, allocations: 119.5 MB / 3.064 GB, free: 3.277 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00011/2.769, allocations: 55.94 kB / 3.064 GB, free: 3.223 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: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.004623/2.773, allocations: 2.326 MB / 3.066 GB, free: 0.8359 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/2.773, allocations: 12.62 kB / 3.066 GB, free: 0.8242 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2823/3.056, allocations: 2.18 MB / 3.069 GB, free: 0.4941 GB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/3.058, allocations: 1.326 MB / 3.07 GB, free: 0.4938 GB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/3.058, allocations: 83.3 kB / 3.07 GB, free: 0.4938 GB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/3.058, allocations: 143.4 kB / 3.07 GB, free: 0.4938 GB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00504/3.063, allocations: 3.412 MB / 3.073 GB, free: 0.4938 GB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/3.067, allocations: 2.698 MB / 3.076 GB, free: 0.4936 GB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/3.067, allocations: 3.75 kB / 3.076 GB, free: 0.4936 GB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/3.068, allocations: 0 / 3.076 GB, free: 0.4936 GB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/3.068, allocations: 62.31 kB / 3.076 GB, free: 0.4936 GB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/3.082, allocations: 9.347 MB / 3.085 GB, free: 0.4916 GB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/3.085, allocations: 2.17 MB / 3.087 GB, free: 0.4915 GB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/3.087, allocations: 1.189 MB / 3.089 GB, free: 0.4915 GB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/3.087, allocations: 0.5123 MB / 3.089 GB, free: 0.491 GB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/3.089, allocations: 1.461 MB / 3.09 GB, free: 0.4909 GB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.887e-06/3.089, allocations: 0 / 3.09 GB, free: 0.4909 GB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.004924/3.094, allocations: 2.609 MB / 3.093 GB, free: 0.4908 GB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/3.094, allocations: 256.2 kB / 3.093 GB, free: 0.4905 GB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008797/3.095, allocations: 0.7777 MB / 3.094 GB, free: 0.4904 GB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/3.095, allocations: 28.52 kB / 3.094 GB, free: 0.4903 GB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/3.095, allocations: 0.6977 MB / 3.095 GB, free: 0.49 GB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/3.096, allocations: 0.6903 MB / 3.095 GB, free: 0.4897 GB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/3.096, allocations: 0 / 3.095 GB, free: 0.4897 GB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.895e-05/3.096, allocations: 376.4 kB / 3.096 GB, free: 0.4894 GB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/3.097, allocations: 0.9345 MB / 3.097 GB, free: 0.4894 GB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/3.099, allocations: 1.121 MB / 3.098 GB, free: 0.4892 GB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/3.101, allocations: 1.23 MB / 3.099 GB, free: 0.4892 GB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/3.101, allocations: 0 / 3.099 GB, free: 0.4892 GB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.004836/3.106, allocations: 2.688 MB / 3.102 GB, free: 0.4891 GB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/3.106, allocations: 3.719 kB / 3.102 GB, free: 0.4891 GB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/3.106, allocations: 2.594 kB / 3.102 GB, free: 0.4891 GB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/3.107, allocations: 88.92 kB / 3.102 GB, free: 0.4891 GB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00375/3.11, allocations: 0.6384 MB / 3.102 GB, free: 0.4891 GB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/3.112, allocations: 1.461 MB / 3.104 GB, free: 499.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/3.115, allocations: 326.2 kB / 3.104 GB, free: 499.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/3.115, allocations: 100.8 kB / 3.104 GB, free: 499.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (239): * Single equations (assignments): 238 * 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.0004238/3.115, allocations: 132 kB / 3.104 GB, free: 499.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/3.116, allocations: 150.2 kB / 3.104 GB, free: 499.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007691/3.124, allocations: 3.411 MB / 3.108 GB, free: 499.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/3.124, allocations: 27.62 kB / 3.108 GB, free: 499.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/3.124, allocations: 3.906 kB / 3.108 GB, free: 499.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/3.124, allocations: 13.31 kB / 3.108 GB, free: 499.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009018/3.133, allocations: 6.032 MB / 3.114 GB, free: 496.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/3.133, allocations: 2.625 kB / 3.114 GB, free: 496.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003657/3.136, allocations: 0.6132 MB / 3.114 GB, free: 496.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/3.137, allocations: 91.47 kB / 3.114 GB, free: 496.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/3.137, allocations: 47.06 kB / 3.114 GB, free: 496.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/3.138, allocations: 1.484 MB / 3.116 GB, free: 495.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/3.138, allocations: 3.609 kB / 3.116 GB, free: 495.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004974/3.143, allocations: 2.778 MB / 3.119 GB, free: 493.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/3.144, allocations: 0.6585 MB / 3.119 GB, free: 493.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/3.145, allocations: 3.562 kB / 3.119 GB, free: 493.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/3.148, allocations: 246.1 kB / 3.119 GB, free: 493.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/3.148, allocations: 126.6 kB / 3.12 GB, free: 493.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/3.148, allocations: 93.44 kB / 3.12 GB, free: 493.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000812/3.149, allocations: 0.6676 MB / 3.12 GB, free: 493.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001809/3.151, allocations: 0.681 MB / 3.121 GB, free: 493 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 (240): * Single equations (assignments): 237 * 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.001621/3.153, allocations: 1.1 MB / 3.122 GB, free: 492.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003662/3.156, allocations: 2.497 MB / 3.125 GB, free: 491.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/3.156, allocations: 0 / 3.125 GB, free: 491.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/3.158, allocations: 1.43 MB / 3.126 GB, free: 491.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/3.159, allocations: 236.9 kB / 3.126 GB, free: 491.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/3.167, allocations: 3.427 MB / 3.129 GB, free: 489.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002794/3.169, allocations: 1.842 MB / 3.131 GB, free: 488.9 MB / 1.151 GB Notification: Performance of SimCode: time 4.81e-07/3.169, allocations: 0.5 kB / 3.131 GB, free: 488.9 MB / 1.151 GB Notification: Performance of Templates: time 0.05324/3.223, allocations: 41.42 MB / 3.172 GB, free: 466.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches