Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDatInpCon.HGloHor_in|weaDatInpCon.weaBus.HDifHor|weaDatInpCon.weaBus.HDirNor",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [: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 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 249.4 MB / 256.7 MB, free: 0.6953 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.001251, allocations: 175.5 kB / 316 MB, free: 8.867 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 0.5667 GB, free: 13.44 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 73.19 kB / 0.671 GB, free: 51.61 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.163e-06, allocations: 0 / 0.7807 GB, free: 9.961 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7392/0.7393, allocations: 106.3 MB / 0.8845 GB, free: 89.12 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.527/5.266, allocations: 2.189 GB / 3.074 GB, free: 195.6 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/5.267, allocations: 90.92 kB / 3.074 GB, free: 195.5 MB / 0.8777 GB Notification: Performance of FrontEnd: time 0.1278/5.394, allocations: 58.68 MB / 3.131 GB, free: 137.1 MB / 0.8777 GB Notification: Performance of Transformations before backend: time 6.272e-05/5.394, allocations: 16 kB / 3.131 GB, free: 137 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001896/5.396, allocations: 1.112 MB / 3.132 GB, free: 135.9 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/5.396, allocations: 12.03 kB / 3.132 GB, free: 135.9 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/5.398, allocations: 218.5 kB / 3.133 GB, free: 135.7 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/5.398, allocations: 0.609 MB / 3.133 GB, free: 135 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/5.398, allocations: 28 kB / 3.133 GB, free: 135 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/5.399, allocations: 40 kB / 3.133 GB, free: 134.9 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/5.4, allocations: 0.964 MB / 3.134 GB, free: 134 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009331/5.401, allocations: 0.685 MB / 3.135 GB, free: 133.2 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/5.401, allocations: 4 kB / 3.135 GB, free: 133.2 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/5.401, allocations: 2.531 kB / 3.135 GB, free: 133.2 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/5.401, allocations: 16 kB / 3.135 GB, free: 133.2 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/5.404, allocations: 2.256 MB / 3.137 GB, free: 130.9 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/5.405, allocations: 0.6496 MB / 3.138 GB, free: 130.3 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/5.405, allocations: 254.7 kB / 3.138 GB, free: 130 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/5.405, allocations: 32.67 kB / 3.138 GB, free: 130 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/5.406, allocations: 394.1 kB / 3.138 GB, free: 129.6 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=73): time 2.545e-06/5.406, allocations: 0 / 3.138 GB, free: 129.6 MB / 0.8777 GB Notification: Performance of matching and sorting (n=73): time 0.001698/5.408, allocations: 0.6883 MB / 3.139 GB, free: 128.9 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/5.408, allocations: 240 kB / 3.139 GB, free: 128.6 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/5.408, allocations: 0.5102 MB / 3.14 GB, free: 128.1 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/5.408, allocations: 25.7 kB / 3.14 GB, free: 128 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/5.408, allocations: 272.3 kB / 3.14 GB, free: 127.8 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/5.409, allocations: 232.5 kB / 3.14 GB, free: 127.5 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/5.409, allocations: 0 / 3.14 GB, free: 127.5 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/5.409, allocations: 378.8 kB / 3.141 GB, free: 127.2 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/5.409, allocations: 201.3 kB / 3.141 GB, free: 127 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/5.409, allocations: 315.3 kB / 3.141 GB, free: 126.6 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/5.41, allocations: 267 kB / 3.141 GB, free: 126.4 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/5.41, allocations: 0 / 3.141 GB, free: 126.4 MB / 0.8777 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001467/5.411, allocations: 0.6872 MB / 3.142 GB, free: 125.7 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/5.411, allocations: 7.938 kB / 3.142 GB, free: 125.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/5.411, allocations: 9.109 kB / 3.142 GB, free: 125.6 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/5.412, allocations: 80.88 kB / 3.142 GB, free: 125.6 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/5.413, allocations: 167 kB / 3.142 GB, free: 125.4 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/5.414, allocations: 1.457 MB / 3.144 GB, free: 123.8 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/5.415, allocations: 75.59 kB / 3.144 GB, free: 123.7 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/5.415, allocations: 31.97 kB / 3.144 GB, free: 123.7 MB / 0.8777 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.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0001373/5.415, allocations: 120.8 kB / 3.144 GB, free: 123.6 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/5.415, allocations: 75.06 kB / 3.144 GB, free: 123.5 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/5.418, allocations: 1.047 MB / 3.145 GB, free: 122.5 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/5.418, allocations: 8 kB / 3.145 GB, free: 122.5 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/5.418, allocations: 0 / 3.145 GB, free: 122.5 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/5.418, allocations: 11.98 kB / 3.145 GB, free: 122.5 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007149/5.418, allocations: 0.7478 MB / 3.146 GB, free: 121.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/5.418, allocations: 0 / 3.146 GB, free: 121.7 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/5.419, allocations: 159.8 kB / 3.146 GB, free: 121.5 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/5.42, allocations: 84.78 kB / 3.146 GB, free: 121.4 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/5.42, allocations: 15.98 kB / 3.146 GB, free: 121.4 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/5.421, allocations: 1.498 MB / 3.147 GB, free: 119.8 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.421, allocations: 0 / 3.147 GB, free: 119.8 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001388/5.423, allocations: 0.7966 MB / 3.148 GB, free: 119 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/5.423, allocations: 275.9 kB / 3.148 GB, free: 118.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/5.423, allocations: 4 kB / 3.148 GB, free: 118.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/5.424, allocations: 67.94 kB / 3.149 GB, free: 118.6 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/5.424, allocations: 63.78 kB / 3.149 GB, free: 118.6 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/5.424, allocations: 34.22 kB / 3.149 GB, free: 118.5 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.0003918/5.424, allocations: 423.2 kB / 3.149 GB, free: 118.1 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.0008787/5.425, allocations: 319.2 kB / 3.149 GB, free: 117.8 MB / 0.8777 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,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001315/5.426, allocations: 1.03 MB / 3.15 GB, free: 116.9 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.001063/5.428, allocations: 0.6703 MB / 3.151 GB, free: 116.2 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/5.428, allocations: 0 / 3.151 GB, free: 116.2 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/5.428, allocations: 464.6 kB / 3.151 GB, free: 115.8 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/5.429, allocations: 214.2 kB / 3.152 GB, free: 115.6 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/5.432, allocations: 1.332 MB / 3.153 GB, free: 114.2 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/5.433, allocations: 1.111 MB / 3.154 GB, free: 113.1 MB / 0.8777 GB Notification: Performance of SimCode: time 4.41e-07/5.433, allocations: 0 / 3.154 GB, free: 113.1 MB / 0.8777 GB Notification: Performance of Templates: time 0.02375/5.457, allocations: 17.13 MB / 3.171 GB, free: 96.05 MB / 0.8777 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches