Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating") [: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.261/2.261, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001411/0.001411, allocations: 180.2 kB / 487 MB, free: 5.414 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.553/1.553, allocations: 221.3 MB / 0.7819 GB, free: 1.504 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.001054/0.001054, allocations: 105.1 kB / 0.9213 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.223e-05/1.226e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.33, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.796/5.126, allocations: 2.199 GB / 3.404 GB, free: 116.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/5.126, allocations: 91.95 kB / 3.404 GB, free: 116.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.794/7.92, allocations: 0.9423 GB / 4.346 GB, free: 65.22 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007337/7.921, allocations: 135.8 kB / 4.346 GB, free: 65.09 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: 982 * Number of variables: 982 Notification: Performance of Generate backend data structure: time 0.01351/7.935, allocations: 4.352 MB / 4.351 GB, free: 60.67 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/7.935, allocations: 9.031 kB / 4.351 GB, free: 60.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00833/7.943, allocations: 1.27 MB / 4.352 GB, free: 59.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/7.957, allocations: 5.56 MB / 4.357 GB, free: 53.76 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/7.958, allocations: 124 kB / 4.357 GB, free: 53.64 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/7.959, allocations: 227.9 kB / 4.358 GB, free: 53.42 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008509/7.968, allocations: 4.435 MB / 4.362 GB, free: 48.98 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006937/7.975, allocations: 4.599 MB / 4.366 GB, free: 44.22 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.419e-05/7.975, allocations: 15.92 kB / 4.366 GB, free: 44.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004092/7.975, allocations: 7.906 kB / 4.366 GB, free: 44.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/7.975, allocations: 183.3 kB / 4.367 GB, free: 44.02 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02649/8.002, allocations: 19.46 MB / 4.386 GB, free: 23.86 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/8.006, allocations: 3.011 MB / 4.389 GB, free: 20.85 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/8.007, allocations: 1.63 MB / 4.39 GB, free: 19.21 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/8.009, allocations: 1.868 MB / 4.392 GB, free: 16.95 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002251/8.011, allocations: 1.785 MB / 4.394 GB, free: 15.12 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 4.308e-06/8.011, allocations: 0 / 4.394 GB, free: 15.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.01051/8.022, allocations: 3.709 MB / 4.397 GB, free: 11.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/8.022, allocations: 287.1 kB / 4.398 GB, free: 11.02 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004418/8.026, allocations: 3.059 MB / 4.401 GB, free: 7.957 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006747/8.027, allocations: 29.7 kB / 4.401 GB, free: 7.922 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001468/8.029, allocations: 1.407 MB / 4.402 GB, free: 6.492 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/8.03, allocations: 0.8737 MB / 4.403 GB, free: 5.605 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/8.03, allocations: 0 / 4.403 GB, free: 5.605 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001497/8.03, allocations: 427.9 kB / 4.403 GB, free: 5.18 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/8.032, allocations: 1.302 MB / 4.405 GB, free: 3.875 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/8.034, allocations: 1.985 MB / 4.407 GB, free: 1.617 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4694/8.504, allocations: 2.334 MB / 4.409 GB, free: 342.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.589e-05/8.504, allocations: 3.938 kB / 4.409 GB, free: 342.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01324/8.517, allocations: 4.394 MB / 4.413 GB, free: 342.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001426/8.518, allocations: 7.294 MB / 4.42 GB, free: 334.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/8.518, allocations: 18.38 kB / 4.42 GB, free: 334.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/8.519, allocations: 111.4 kB / 4.42 GB, free: 334.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004412/8.524, allocations: 0.808 MB / 4.421 GB, free: 334.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/8.526, allocations: 2.099 MB / 4.423 GB, free: 332.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0051/8.531, allocations: 421 kB / 4.424 GB, free: 332.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006027/8.531, allocations: 143.3 kB / 4.424 GB, free: 332.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/8.531, allocations: 3.562 kB / 4.424 GB, free: 332.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01132/8.543, allocations: 4.024 MB / 4.428 GB, free: 332.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/8.543, allocations: 18.81 kB / 4.428 GB, free: 332.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/8.543, allocations: 113.8 kB / 4.428 GB, free: 332.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/8.547, allocations: 0.7907 MB / 4.429 GB, free: 332.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/8.549, allocations: 1.503 MB / 4.43 GB, free: 331.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004919/8.554, allocations: 387.9 kB / 4.43 GB, free: 331.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004905/8.555, allocations: 140.9 kB / 4.431 GB, free: 331.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (366): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0009442/8.555, allocations: 180 kB / 4.431 GB, free: 331.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/8.557, allocations: 361 kB / 4.431 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/8.57, allocations: 4.557 MB / 4.435 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.492e-05/8.57, allocations: 33.19 kB / 4.436 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/8.57, allocations: 3.719 kB / 4.436 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01061/8.58, allocations: 3.649 MB / 4.439 GB, free: 330.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02234/8.603, allocations: 8.733 MB / 4.448 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/8.603, allocations: 0 / 4.448 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003528/8.606, allocations: 0.6359 MB / 4.448 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/8.607, allocations: 88.84 kB / 4.448 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003012/8.607, allocations: 56.83 kB / 4.448 GB, free: 330.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/8.609, allocations: 2.089 MB / 4.45 GB, free: 328.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/8.609, allocations: 0 / 4.45 GB, free: 328.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01461/8.624, allocations: 6.035 MB / 4.456 GB, free: 327.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003486/8.627, allocations: 1.054 MB / 4.457 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/8.629, allocations: 16.48 kB / 4.457 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004667/8.633, allocations: 279 kB / 4.458 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/8.634, allocations: 155.1 kB / 4.458 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004026/8.634, allocations: 131.6 kB / 4.458 GB, free: 327.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.004204/8.638, allocations: 2.359 MB / 4.46 GB, free: 327.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.009936/8.648, allocations: 2.362 MB / 4.462 GB, free: 327 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (287): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003443/8.652, allocations: 1.663 MB / 4.464 GB, free: 326.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009768/8.662, allocations: 5.43 MB / 4.469 GB, free: 326.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/8.662, allocations: 4.984 kB / 4.469 GB, free: 326.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002816/8.664, allocations: 1.716 MB / 4.471 GB, free: 326.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009583/8.674, allocations: 1.675 MB / 4.473 GB, free: 326.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/8.697, allocations: 8.012 MB / 4.481 GB, free: 325 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004938/8.702, allocations: 3.593 MB / 4.484 GB, free: 324.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.463e-06/8.702, allocations: 0 / 4.484 GB, free: 324.3 MB / 1.151 GB Notification: Performance of Templates: time 0.1594/8.861, allocations: 102.1 MB / 4.584 GB, free: 319.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_Concentrating.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches