Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [: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.044/2.044, 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.001101/0.001101, allocations: 185.3 kB / 490.8 MB, free: 1.918 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.489/1.489, allocations: 221.4 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.00102/0.00102, allocations: 91.05 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.035e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2794, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.97/4.25, allocations: 1.938 GB / 3.15 GB, free: 397.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/4.25, allocations: 87.95 kB / 3.15 GB, free: 397.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6189/4.869, allocations: 326.4 MB / 3.468 GB, free: 65.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002406/4.869, allocations: 52 kB / 3.469 GB, free: 65.4 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.005392/4.874, allocations: 2.13 MB / 3.471 GB, free: 63.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/4.875, allocations: 8.031 kB / 3.471 GB, free: 63.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/4.879, allocations: 0.5901 MB / 3.471 GB, free: 62.61 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/4.883, allocations: 2.243 MB / 3.473 GB, free: 60.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/4.883, allocations: 60 kB / 3.473 GB, free: 60.26 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/4.884, allocations: 96 kB / 3.474 GB, free: 60.16 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002806/4.886, allocations: 1.876 MB / 3.475 GB, free: 58.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/4.889, allocations: 1.589 MB / 3.477 GB, free: 56.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/4.889, allocations: 3.938 kB / 3.477 GB, free: 56.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/4.889, allocations: 4 kB / 3.477 GB, free: 56.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/4.889, allocations: 40 kB / 3.477 GB, free: 56.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/4.897, allocations: 5.875 MB / 3.483 GB, free: 50.55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/4.899, allocations: 1.812 MB / 3.484 GB, free: 48.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/4.9, allocations: 0.6713 MB / 3.485 GB, free: 47.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006585/4.901, allocations: 0.752 MB / 3.486 GB, free: 47.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/4.902, allocations: 0.8543 MB / 3.487 GB, free: 46.21 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.366e-06/4.902, allocations: 0 / 3.487 GB, free: 46.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003567/4.905, allocations: 1.609 MB / 3.488 GB, free: 44.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/4.906, allocations: 244.6 kB / 3.488 GB, free: 44.28 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/4.908, allocations: 2.342 MB / 3.491 GB, free: 41.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/4.908, allocations: 29.7 kB / 3.491 GB, free: 41.89 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/4.909, allocations: 0.5806 MB / 3.491 GB, free: 41.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/4.909, allocations: 433.4 kB / 3.492 GB, free: 40.87 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/4.909, allocations: 3.938 kB / 3.492 GB, free: 40.86 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/4.909, allocations: 357.9 kB / 3.492 GB, free: 40.51 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/4.91, allocations: 486.5 kB / 3.493 GB, free: 40.03 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/4.91, allocations: 0.6918 MB / 3.493 GB, free: 39.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/4.911, allocations: 0.5735 MB / 3.494 GB, free: 38.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/4.911, allocations: 0 / 3.494 GB, free: 38.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002773/4.914, allocations: 1.527 MB / 3.495 GB, free: 37.15 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/4.914, allocations: 4 kB / 3.495 GB, free: 37.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/4.914, allocations: 0 / 3.495 GB, free: 37.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/4.915, allocations: 212.2 kB / 3.496 GB, free: 36.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/4.917, allocations: 307.6 kB / 3.496 GB, free: 36.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/4.921, allocations: 6.498 MB / 3.502 GB, free: 29.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/4.922, allocations: 127.2 kB / 3.502 GB, free: 29.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/4.922, allocations: 63.97 kB / 3.502 GB, free: 29.35 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 (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003418/4.923, allocations: 135.9 kB / 3.502 GB, free: 29.21 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/4.923, allocations: 173.8 kB / 3.503 GB, free: 29.04 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/4.927, allocations: 2.016 MB / 3.505 GB, free: 27 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/4.927, allocations: 16 kB / 3.505 GB, free: 26.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/4.927, allocations: 7.984 kB / 3.505 GB, free: 26.97 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/4.927, allocations: 11.89 kB / 3.505 GB, free: 26.96 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/4.934, allocations: 3.867 MB / 3.508 GB, free: 23.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/4.934, allocations: 0 / 3.508 GB, free: 23.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/4.936, allocations: 323.5 kB / 3.509 GB, free: 22.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009496/4.936, allocations: 212.1 kB / 3.509 GB, free: 22.49 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/4.937, allocations: 27.97 kB / 3.509 GB, free: 22.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/4.941, allocations: 6.525 MB / 3.515 GB, free: 15.37 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/4.941, allocations: 0 / 3.515 GB, free: 15.37 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003279/4.944, allocations: 1.726 MB / 3.517 GB, free: 13.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/4.945, allocations: 0.6545 MB / 3.518 GB, free: 12.93 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005622/4.946, allocations: 0 / 3.518 GB, free: 12.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/4.948, allocations: 111.8 kB / 3.518 GB, free: 12.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/4.948, allocations: 89.17 kB / 3.518 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/4.948, allocations: 83.86 kB / 3.518 GB, free: 12.65 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002524/4.95, allocations: 1.815 MB / 3.52 GB, free: 10.84 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002691/4.953, allocations: 0.752 MB / 3.52 GB, free: 10.08 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 (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002928/4.956, allocations: 1.722 MB / 3.522 GB, free: 8.441 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002345/4.958, allocations: 1.717 MB / 3.524 GB, free: 6.672 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/4.958, allocations: 4.656 kB / 3.524 GB, free: 6.664 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/4.96, allocations: 1.212 MB / 3.525 GB, free: 5.406 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/4.962, allocations: 405.2 kB / 3.525 GB, free: 5.016 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007306/4.969, allocations: 2.909 MB / 3.528 GB, free: 2.055 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/4.972, allocations: 1.871 MB / 3.53 GB, free: 152 kB / 1.151 GB Notification: Performance of SimCode: time 1.052e-06/4.972, allocations: 0 / 3.53 GB, free: 152 kB / 1.151 GB Notification: Performance of Templates: time 0.5021/5.474, allocations: 38.86 MB / 3.568 GB, free: 435.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches