Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") [: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.954/1.954, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001152/0.001152, allocations: 190.4 kB / 490.8 MB, free: 1.969 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.292/1.292, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0009406/0.0009407, allocations: 95.97 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.535e-06/7.575e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2195, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.271/4.49, allocations: 1.908 GB / 3.119 GB, free: 420.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/4.491, allocations: 90.83 kB / 3.119 GB, free: 420.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.7647/5.255, allocations: 399.8 MB / 3.51 GB, free: 12.73 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001893/5.256, allocations: 39.92 kB / 3.51 GB, free: 12.7 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004784/5.26, allocations: 1.564 MB / 3.511 GB, free: 11.07 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/5.261, allocations: 8.031 kB / 3.511 GB, free: 11.07 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/5.263, allocations: 365.8 kB / 3.512 GB, free: 10.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/5.267, allocations: 1.113 MB / 3.513 GB, free: 9.551 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/5.267, allocations: 39.91 kB / 3.513 GB, free: 9.512 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/5.267, allocations: 64 kB / 3.513 GB, free: 9.449 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002201/5.269, allocations: 1.304 MB / 3.514 GB, free: 8.141 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/5.271, allocations: 1.046 MB / 3.515 GB, free: 7.031 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/5.271, allocations: 0 / 3.515 GB, free: 7.031 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/5.271, allocations: 0 / 3.515 GB, free: 7.031 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/5.271, allocations: 28 kB / 3.515 GB, free: 7.004 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006024/5.277, allocations: 3.574 MB / 3.519 GB, free: 3.309 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/5.278, allocations: 0.9457 MB / 3.52 GB, free: 2.352 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/5.279, allocations: 399 kB / 3.52 GB, free: 1.961 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006857/5.279, allocations: 0.5021 MB / 3.521 GB, free: 1.367 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006492/5.28, allocations: 0.5466 MB / 3.521 GB, free: 0.8008 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 2.144e-06/5.28, allocations: 0 / 3.521 GB, free: 0.8008 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.571/5.851, allocations: 1.113 MB / 3.522 GB, free: 423 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/5.851, allocations: 249.8 kB / 3.522 GB, free: 422.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/5.852, allocations: 0.6083 MB / 3.523 GB, free: 422.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/5.853, allocations: 29.52 kB / 3.523 GB, free: 422.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/5.853, allocations: 396.4 kB / 3.523 GB, free: 422.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/5.853, allocations: 320.8 kB / 3.524 GB, free: 422.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/5.853, allocations: 0 / 3.524 GB, free: 422.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.068e-05/5.854, allocations: 343.3 kB / 3.524 GB, free: 422.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/5.854, allocations: 305.1 kB / 3.524 GB, free: 422.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/5.855, allocations: 456.6 kB / 3.525 GB, free: 421.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/5.856, allocations: 0.5224 MB / 3.525 GB, free: 421.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/5.856, allocations: 0 / 3.525 GB, free: 421.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00297/5.859, allocations: 1.094 MB / 3.526 GB, free: 421.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/5.859, allocations: 3.312 kB / 3.526 GB, free: 421.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/5.859, allocations: 3 kB / 3.526 GB, free: 421.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/5.86, allocations: 86.16 kB / 3.527 GB, free: 421.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/5.861, allocations: 213.6 kB / 3.527 GB, free: 421.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/5.863, allocations: 1.463 MB / 3.528 GB, free: 420.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009992/5.864, allocations: 94.94 kB / 3.528 GB, free: 420.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/5.864, allocations: 34.78 kB / 3.528 GB, free: 420.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (107): * Single equations (assignments): 106 * 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.0002224/5.864, allocations: 126.5 kB / 3.528 GB, free: 420.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/5.865, allocations: 102.3 kB / 3.528 GB, free: 420.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/5.868, allocations: 1.448 MB / 3.53 GB, free: 420.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/5.868, allocations: 11.84 kB / 3.53 GB, free: 420.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/5.868, allocations: 0 / 3.53 GB, free: 420.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/5.868, allocations: 7.875 kB / 3.53 GB, free: 420.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/5.872, allocations: 2.543 MB / 3.532 GB, free: 419.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/5.872, allocations: 3.375 kB / 3.532 GB, free: 419.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/5.873, allocations: 195.7 kB / 3.533 GB, free: 419.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/5.874, allocations: 87.83 kB / 3.533 GB, free: 419.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/5.874, allocations: 25.52 kB / 3.533 GB, free: 419.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/5.875, allocations: 1.496 MB / 3.534 GB, free: 418.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/5.875, allocations: 3.891 kB / 3.534 GB, free: 418.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003147/5.878, allocations: 1.824 MB / 3.536 GB, free: 418.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005696/5.879, allocations: 345.2 kB / 3.536 GB, free: 418.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/5.879, allocations: 3.469 kB / 3.536 GB, free: 418.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008237/5.88, allocations: 68.78 kB / 3.536 GB, free: 418.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/5.88, allocations: 70.27 kB / 3.536 GB, free: 418.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-05/5.88, allocations: 45.12 kB / 3.536 GB, free: 418.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006372/5.881, allocations: 0.493 MB / 3.537 GB, free: 418 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00182/5.883, allocations: 0.5345 MB / 3.537 GB, free: 418 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * 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.003042/5.886, allocations: 1.973 MB / 3.539 GB, free: 417.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001685/5.887, allocations: 0.9164 MB / 3.54 GB, free: 417.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/5.887, allocations: 3.25 kB / 3.54 GB, free: 417.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/5.888, allocations: 0.5754 MB / 3.541 GB, free: 417.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/5.89, allocations: 343.5 kB / 3.541 GB, free: 417.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/5.895, allocations: 1.959 MB / 3.543 GB, free: 416.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/5.896, allocations: 1.301 MB / 3.544 GB, free: 416.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.372e-06/5.896, allocations: 0 / 3.544 GB, free: 416.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04406/5.94, allocations: 28.3 MB / 3.572 GB, free: 415.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches