Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.14/2.14, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001198/0.001198, allocations: 181.3 kB / 487 MB, free: 5.367 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.45/1.45, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.001035/0.001035, allocations: 97.98 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.757e-06/8.787e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2978, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.537/4.835, allocations: 1.937 GB / 3.143 GB, free: 369.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/4.835, allocations: 95.38 kB / 3.143 GB, free: 369.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.2883/5.124, allocations: 153.3 MB / 3.292 GB, free: 214.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.99e-05/5.124, allocations: 31.94 kB / 3.292 GB, free: 214.3 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.002683/5.126, allocations: 1.371 MB / 3.294 GB, free: 212.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/5.127, allocations: 9.031 kB / 3.294 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/5.128, allocations: 282.2 kB / 3.294 GB, free: 212.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/5.129, allocations: 0.8303 MB / 3.295 GB, free: 211.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/5.129, allocations: 35.94 kB / 3.295 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/5.13, allocations: 52 kB / 3.295 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001479/5.131, allocations: 1.151 MB / 3.296 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/5.132, allocations: 0.8716 MB / 3.297 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/5.132, allocations: 0 / 3.297 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.08e-05/5.132, allocations: 4 kB / 3.297 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/5.132, allocations: 20 kB / 3.297 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/5.137, allocations: 2.999 MB / 3.3 GB, free: 206.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/5.138, allocations: 0.9033 MB / 3.301 GB, free: 205.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/5.138, allocations: 345.5 kB / 3.301 GB, free: 205.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/5.139, allocations: 218.9 kB / 3.301 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006139/5.139, allocations: 487.6 kB / 3.302 GB, free: 204.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 3.617e-06/5.139, allocations: 0 / 3.302 GB, free: 204.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.001983/5.141, allocations: 0.8389 MB / 3.302 GB, free: 203.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/5.141, allocations: 244.1 kB / 3.303 GB, free: 203.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/5.142, allocations: 0.7225 MB / 3.303 GB, free: 202.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/5.142, allocations: 33.64 kB / 3.303 GB, free: 202.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/5.143, allocations: 332.2 kB / 3.304 GB, free: 202.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/5.143, allocations: 279.9 kB / 3.304 GB, free: 202 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/5.143, allocations: 0 / 3.304 GB, free: 202 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/5.143, allocations: 334 kB / 3.304 GB, free: 201.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/5.143, allocations: 253.5 kB / 3.305 GB, free: 201.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/5.144, allocations: 382 kB / 3.305 GB, free: 201 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/5.144, allocations: 313.7 kB / 3.305 GB, free: 200.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/5.144, allocations: 0 / 3.305 GB, free: 200.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001786/5.146, allocations: 0.8311 MB / 3.306 GB, free: 199.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/5.146, allocations: 4 kB / 3.306 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/5.146, allocations: 4 kB / 3.306 GB, free: 199.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007686/5.147, allocations: 117.6 kB / 3.306 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/5.148, allocations: 183.8 kB / 3.306 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/5.151, allocations: 2.729 MB / 3.309 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/5.152, allocations: 87.48 kB / 3.309 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/5.152, allocations: 35.98 kB / 3.309 GB, free: 196.4 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.0002672/5.152, allocations: 120.8 kB / 3.309 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/5.152, allocations: 86.97 kB / 3.309 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/5.155, allocations: 1.139 MB / 3.31 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/5.155, allocations: 11.91 kB / 3.31 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/5.155, allocations: 4 kB / 3.31 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/5.155, allocations: 3.984 kB / 3.31 GB, free: 195.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/5.158, allocations: 2.087 MB / 3.313 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/5.158, allocations: 3.938 kB / 3.313 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008215/5.159, allocations: 199.7 kB / 3.313 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006204/5.16, allocations: 113.6 kB / 3.313 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/5.16, allocations: 15.98 kB / 3.313 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/5.162, allocations: 2.748 MB / 3.316 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/5.162, allocations: 0 / 3.316 GB, free: 189.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00196/5.164, allocations: 1.003 MB / 3.317 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/5.165, allocations: 339.6 kB / 3.317 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/5.165, allocations: 4 kB / 3.317 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/5.166, allocations: 71.94 kB / 3.317 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/5.166, allocations: 68.83 kB / 3.317 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/5.166, allocations: 39.98 kB / 3.317 GB, free: 188 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006443/5.166, allocations: 0.5732 MB / 3.318 GB, free: 187.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001619/5.168, allocations: 490.9 kB / 3.318 GB, free: 187 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.00198/5.17, allocations: 1.398 MB / 3.319 GB, free: 185.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001385/5.172, allocations: 0.894 MB / 3.32 GB, free: 184.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/5.172, allocations: 0 / 3.32 GB, free: 184.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/5.172, allocations: 0.6163 MB / 3.321 GB, free: 184.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/5.173, allocations: 260.6 kB / 3.321 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/5.177, allocations: 1.617 MB / 3.323 GB, free: 182.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008296/5.178, allocations: 1.244 MB / 3.324 GB, free: 181 MB / 1.151 GB Notification: Performance of SimCode: time 7.62e-07/5.178, allocations: 4 kB / 3.324 GB, free: 181 MB / 1.151 GB Notification: Performance of Templates: time 0.03159/5.21, allocations: 23.11 MB / 3.346 GB, free: 158 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches