Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [: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 2.034/2.034, 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.001123/0.001123, allocations: 185.2 kB / 490.8 MB, free: 1.887 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.494/1.494, allocations: 221.3 MB / 0.7863 GB, free: 13.61 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.0009492/0.0009494, allocations: 92.62 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.396e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.447/4.737, allocations: 1.938 GB / 3.15 GB, free: 393.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/4.738, allocations: 82.7 kB / 3.15 GB, free: 393.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.2947/5.032, allocations: 153.3 MB / 3.299 GB, free: 238.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001415/5.032, allocations: 31.94 kB / 3.299 GB, free: 238.1 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003497/5.036, allocations: 1.375 MB / 3.301 GB, free: 236.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/5.036, allocations: 8.031 kB / 3.301 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/5.038, allocations: 286.2 kB / 3.301 GB, free: 236.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/5.04, allocations: 0.8226 MB / 3.302 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/5.04, allocations: 32 kB / 3.302 GB, free: 235.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/5.04, allocations: 52 kB / 3.302 GB, free: 235.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001936/5.042, allocations: 1.155 MB / 3.303 GB, free: 234.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/5.044, allocations: 0.8638 MB / 3.304 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/5.044, allocations: 0 / 3.304 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/5.044, allocations: 8 kB / 3.304 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/5.044, allocations: 20 kB / 3.304 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/5.049, allocations: 3.026 MB / 3.307 GB, free: 230.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/5.05, allocations: 0.9079 MB / 3.308 GB, free: 229.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/5.051, allocations: 339.5 kB / 3.308 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/5.051, allocations: 215 kB / 3.308 GB, free: 228.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/5.051, allocations: 483.7 kB / 3.309 GB, free: 228.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 2.956e-06/5.052, allocations: 4 kB / 3.309 GB, free: 228.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.002193/5.054, allocations: 0.8428 MB / 3.31 GB, free: 227.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/5.054, allocations: 244.1 kB / 3.31 GB, free: 227.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/5.055, allocations: 0.7187 MB / 3.311 GB, free: 226.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-05/5.055, allocations: 29.7 kB / 3.311 GB, free: 226.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/5.055, allocations: 336.2 kB / 3.311 GB, free: 226 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/5.055, allocations: 275.8 kB / 3.311 GB, free: 225.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/5.056, allocations: 0 / 3.311 GB, free: 225.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/5.056, allocations: 337.9 kB / 3.312 GB, free: 225.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/5.056, allocations: 253.5 kB / 3.312 GB, free: 225.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/5.057, allocations: 378 kB / 3.312 GB, free: 224.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/5.057, allocations: 317.7 kB / 3.312 GB, free: 224.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/5.057, allocations: 0 / 3.312 GB, free: 224.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001873/5.059, allocations: 0.835 MB / 3.313 GB, free: 223.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/5.059, allocations: 4 kB / 3.313 GB, free: 223.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/5.059, allocations: 0 / 3.313 GB, free: 223.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/5.06, allocations: 117.6 kB / 3.313 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/5.061, allocations: 191.7 kB / 3.314 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/5.063, allocations: 2.718 MB / 3.316 GB, free: 220.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008383/5.064, allocations: 87.5 kB / 3.316 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/5.064, allocations: 35.98 kB / 3.316 GB, free: 220.2 MB / 1.151 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 (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002144/5.064, allocations: 123.9 kB / 3.316 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/5.064, allocations: 94.86 kB / 3.317 GB, free: 220 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/5.067, allocations: 1.128 MB / 3.318 GB, free: 218.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/5.067, allocations: 8 kB / 3.318 GB, free: 218.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/5.067, allocations: 8 kB / 3.318 GB, free: 218.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/5.067, allocations: 7.891 kB / 3.318 GB, free: 218.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/5.07, allocations: 2.082 MB / 3.32 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/5.07, allocations: 0 / 3.32 GB, free: 216.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/5.071, allocations: 195.9 kB / 3.32 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006167/5.072, allocations: 121.5 kB / 3.32 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/5.072, allocations: 11.98 kB / 3.32 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/5.074, allocations: 2.745 MB / 3.323 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/5.074, allocations: 3.984 kB / 3.323 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001752/5.076, allocations: 0.9987 MB / 3.324 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005232/5.076, allocations: 347.5 kB / 3.324 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001977/5.077, allocations: 4 kB / 3.324 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/5.078, allocations: 79.98 kB / 3.324 GB, free: 211.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/5.078, allocations: 60.91 kB / 3.324 GB, free: 211.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-05/5.078, allocations: 43.97 kB / 3.324 GB, free: 211.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006845/5.078, allocations: 0.5655 MB / 3.325 GB, free: 211.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001736/5.08, allocations: 0.4987 MB / 3.325 GB, free: 210.7 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 (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002649/5.083, allocations: 1.376 MB / 3.327 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001436/5.084, allocations: 0.8939 MB / 3.327 GB, free: 208.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/5.084, allocations: 0 / 3.327 GB, free: 208.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/5.085, allocations: 0.6165 MB / 3.328 GB, free: 207.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/5.086, allocations: 251.3 kB / 3.328 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/5.091, allocations: 1.625 MB / 3.33 GB, free: 206 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000957/5.092, allocations: 1.246 MB / 3.331 GB, free: 204.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.393e-06/5.092, allocations: 0 / 3.331 GB, free: 204.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03471/5.126, allocations: 23.11 MB / 3.354 GB, free: 181.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches