Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.034/2.034, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001228/0.001228, allocations: 195.8 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.473/1.473, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.001365/0.001365, allocations: 93.09 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.375e-06/8.416e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.436/4.758, allocations: 2.199 GB / 3.41 GB, free: 111.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/4.758, allocations: 92.7 kB / 3.41 GB, free: 111.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.758/7.516, allocations: 0.9423 GB / 4.353 GB, free: 51.23 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008109/7.517, allocations: 127.9 kB / 4.353 GB, free: 51.11 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.01372/7.531, allocations: 4.367 MB / 4.357 GB, free: 46.67 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/7.531, allocations: 8.031 kB / 4.357 GB, free: 46.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008245/7.539, allocations: 1.277 MB / 4.358 GB, free: 45.38 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/7.554, allocations: 5.552 MB / 4.364 GB, free: 39.76 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/7.554, allocations: 120 kB / 4.364 GB, free: 39.64 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/7.555, allocations: 223.9 kB / 4.364 GB, free: 39.43 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009817/7.565, allocations: 4.431 MB / 4.369 GB, free: 34.99 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/7.577, allocations: 4.606 MB / 4.373 GB, free: 30.23 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/7.577, allocations: 7.938 kB / 4.373 GB, free: 30.22 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/7.578, allocations: 4 kB / 4.373 GB, free: 30.21 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/7.578, allocations: 191.2 kB / 4.373 GB, free: 30.03 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/7.61, allocations: 19.48 MB / 4.392 GB, free: 9.855 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004533/7.615, allocations: 3.007 MB / 4.395 GB, free: 6.852 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/7.617, allocations: 1.63 MB / 4.397 GB, free: 5.211 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001805/7.619, allocations: 1.872 MB / 4.399 GB, free: 2.949 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002702/7.622, allocations: 1.789 MB / 4.4 GB, free: 1.113 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 5.72e-06/7.622, allocations: 0 / 4.4 GB, free: 1.113 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.4788/8.1, allocations: 3.702 MB / 4.404 GB, free: 341 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/8.1, allocations: 290.4 kB / 4.404 GB, free: 340.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004681/8.105, allocations: 3.05 MB / 4.407 GB, free: 340.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005703/8.106, allocations: 28.92 kB / 4.407 GB, free: 340.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001619/8.107, allocations: 1.398 MB / 4.409 GB, free: 340.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/8.109, allocations: 0.8812 MB / 4.409 GB, free: 339.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/8.109, allocations: 0 / 4.409 GB, free: 339.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000144/8.109, allocations: 420.3 kB / 4.41 GB, free: 339.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/8.111, allocations: 1.313 MB / 4.411 GB, free: 339.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/8.113, allocations: 1.974 MB / 4.413 GB, free: 338.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006813/8.12, allocations: 2.335 MB / 4.415 GB, free: 338.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/8.12, allocations: 9.875 kB / 4.415 GB, free: 338.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01268/8.132, allocations: 4.391 MB / 4.42 GB, free: 338.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001325/8.134, allocations: 7.294 MB / 4.427 GB, free: 330.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/8.134, allocations: 16.12 kB / 4.427 GB, free: 330.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006928/8.135, allocations: 114.3 kB / 4.427 GB, free: 330.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/8.139, allocations: 0.8035 MB / 4.428 GB, free: 330.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/8.141, allocations: 2.101 MB / 4.43 GB, free: 328.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/8.147, allocations: 417.3 kB / 4.43 GB, free: 328.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007985/8.148, allocations: 151.2 kB / 4.43 GB, free: 328.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/8.148, allocations: 3.844 kB / 4.43 GB, free: 328.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01138/8.159, allocations: 4.017 MB / 4.434 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/8.159, allocations: 15.75 kB / 4.434 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/8.16, allocations: 117 kB / 4.434 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/8.164, allocations: 0.794 MB / 4.435 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/8.165, allocations: 1.504 MB / 4.437 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005133/8.171, allocations: 382.5 kB / 4.437 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007894/8.171, allocations: 142.9 kB / 4.437 GB, free: 327.2 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.0009956/8.172, allocations: 181 kB / 4.437 GB, free: 327.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/8.174, allocations: 359.7 kB / 4.438 GB, free: 326.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/8.187, allocations: 4.565 MB / 4.442 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/8.187, allocations: 27.09 kB / 4.442 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/8.187, allocations: 0 / 4.442 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009628/8.197, allocations: 3.647 MB / 4.446 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/8.218, allocations: 8.731 MB / 4.454 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/8.218, allocations: 0 / 4.454 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003512/8.221, allocations: 0.6339 MB / 4.455 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/8.222, allocations: 87.66 kB / 4.455 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/8.222, allocations: 60.56 kB / 4.455 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/8.224, allocations: 2.094 MB / 4.457 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/8.224, allocations: 3.25 kB / 4.457 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01303/8.237, allocations: 6.034 MB / 4.463 GB, free: 323.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002969/8.24, allocations: 1.057 MB / 4.464 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/8.241, allocations: 7.469 kB / 4.464 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003883/8.245, allocations: 283.8 kB / 4.464 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/8.245, allocations: 153 kB / 4.464 GB, free: 323.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000317/8.245, allocations: 134.5 kB / 4.464 GB, free: 323.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003353/8.249, allocations: 2.364 MB / 4.467 GB, free: 322.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008539/8.257, allocations: 2.364 MB / 4.469 GB, free: 322.7 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.002976/8.26, allocations: 1.645 MB / 4.471 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008712/8.269, allocations: 5.435 MB / 4.476 GB, free: 322.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/8.269, allocations: 10.66 kB / 4.476 GB, free: 322.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002516/8.272, allocations: 1.716 MB / 4.478 GB, free: 322.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008693/8.28, allocations: 1.683 MB / 4.479 GB, free: 322.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/8.298, allocations: 8.014 MB / 4.487 GB, free: 320.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004331/8.302, allocations: 3.589 MB / 4.491 GB, free: 319.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/8.302, allocations: 3.281 kB / 4.491 GB, free: 319.9 MB / 1.151 GB Notification: Performance of Templates: time 0.1611/8.463, allocations: 102.1 MB / 4.59 GB, free: 315.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_Concentrating.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches