Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") [: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.737/1.737, 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.0009121/0.0009121, allocations: 173.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.064/1.064, allocations: 221.3 MB / 0.7863 GB, free: 13.8 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.0008102/0.0008102, allocations: 103.3 kB / 0.9264 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.48e-06, allocations: 4 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1706, allocations: 143 MB / 1.212 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4506/0.6212, allocations: 151.7 MB / 1.36 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.6214, allocations: 76.5 kB / 1.36 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.63/1.251, allocations: 301.2 MB / 1.654 GB, free: 11.09 MB / 1.104 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.251, allocations: 4 kB / 1.654 GB, free: 11.09 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001045/1.253, allocations: 493.4 kB / 1.654 GB, free: 10.57 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/1.253, allocations: 12.03 kB / 1.654 GB, free: 10.56 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/1.253, allocations: 35.53 kB / 1.654 GB, free: 10.53 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/1.253, allocations: 381.9 kB / 1.655 GB, free: 10.15 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/1.253, allocations: 0 / 1.655 GB, free: 10.15 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/1.253, allocations: 4 kB / 1.655 GB, free: 10.15 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.322e-05/1.253, allocations: 66.92 kB / 1.655 GB, free: 10.09 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/1.253, allocations: 115.1 kB / 1.655 GB, free: 9.973 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/1.253, allocations: 0 / 1.655 GB, free: 9.973 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/1.253, allocations: 0 / 1.655 GB, free: 9.973 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/1.253, allocations: 0 / 1.655 GB, free: 9.973 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/1.254, allocations: 311.1 kB / 1.655 GB, free: 9.668 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/1.254, allocations: 105.3 kB / 1.655 GB, free: 9.539 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.47e-05/1.254, allocations: 65.39 kB / 1.655 GB, free: 9.473 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/1.254, allocations: 3.938 kB / 1.655 GB, free: 9.469 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/1.254, allocations: 38.56 kB / 1.655 GB, free: 9.422 MB / 1.104 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/1.254, allocations: 0 / 1.655 GB, free: 9.422 MB / 1.104 GB Notification: Performance of matching and sorting (n=4): time 0.0002242/1.254, allocations: 151 kB / 1.656 GB, free: 9.285 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/1.254, allocations: 132.5 kB / 1.656 GB, free: 9.125 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/1.255, allocations: 424 kB / 1.656 GB, free: 8.789 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.255, allocations: 25.7 kB / 1.656 GB, free: 8.758 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/1.255, allocations: 115.8 kB / 1.656 GB, free: 8.652 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/1.255, allocations: 19.56 kB / 1.656 GB, free: 8.637 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/1.255, allocations: 0 / 1.656 GB, free: 8.637 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/1.255, allocations: 345.9 kB / 1.657 GB, free: 8.301 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/1.255, allocations: 36.41 kB / 1.657 GB, free: 8.273 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/1.255, allocations: 92.7 kB / 1.657 GB, free: 8.168 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.584e-05/1.255, allocations: 50.52 kB / 1.657 GB, free: 8.125 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.255, allocations: 0 / 1.657 GB, free: 8.125 MB / 1.104 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001767/1.255, allocations: 150.4 kB / 1.657 GB, free: 7.988 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/1.255, allocations: 4 kB / 1.657 GB, free: 7.984 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/1.255, allocations: 0 / 1.657 GB, free: 7.984 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/1.255, allocations: 8.125 kB / 1.657 GB, free: 7.977 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/1.255, allocations: 11.92 kB / 1.657 GB, free: 7.965 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/1.255, allocations: 4 kB / 1.657 GB, free: 7.961 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/1.255, allocations: 4 kB / 1.657 GB, free: 7.957 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/1.255, allocations: 3.984 kB / 1.657 GB, free: 7.953 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/1.256, allocations: 112 kB / 1.657 GB, free: 7.84 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/1.256, allocations: 31.62 kB / 1.657 GB, free: 7.809 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/1.256, allocations: 184.8 kB / 1.657 GB, free: 7.652 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/1.256, allocations: 3.938 kB / 1.657 GB, free: 7.648 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.256, allocations: 0 / 1.657 GB, free: 7.648 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.256, allocations: 12.06 kB / 1.657 GB, free: 7.637 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/1.256, allocations: 281.8 kB / 1.658 GB, free: 7.363 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.256, allocations: 0 / 1.658 GB, free: 7.363 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/1.256, allocations: 15.98 kB / 1.658 GB, free: 7.348 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.256, allocations: 0 / 1.658 GB, free: 7.348 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/1.256, allocations: 8.125 kB / 1.658 GB, free: 7.34 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.256, allocations: 0 / 1.658 GB, free: 7.34 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.256, allocations: 0 / 1.658 GB, free: 7.34 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002089/1.256, allocations: 231.5 kB / 1.658 GB, free: 7.09 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/1.257, allocations: 130.7 kB / 1.658 GB, free: 6.949 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/1.257, allocations: 4 kB / 1.658 GB, free: 6.945 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/1.257, allocations: 0 / 1.658 GB, free: 6.945 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/1.257, allocations: 11.89 kB / 1.658 GB, free: 6.934 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/1.257, allocations: 4 kB / 1.658 GB, free: 6.93 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.0002902/1.257, allocations: 349.5 kB / 1.658 GB, free: 6.664 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0002283/1.257, allocations: 44 kB / 1.658 GB, free: 6.621 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/1.257, allocations: 119.2 kB / 1.658 GB, free: 6.496 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0001431/1.258, allocations: 90.11 kB / 1.659 GB, free: 6.426 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.258, allocations: 0 / 1.659 GB, free: 6.426 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/1.258, allocations: 47.28 kB / 1.659 GB, free: 6.387 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/1.258, allocations: 59 kB / 1.659 GB, free: 6.344 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/1.259, allocations: 438.8 kB / 1.659 GB, free: 5.914 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/1.259, allocations: 0.8463 MB / 1.66 GB, free: 5.059 MB / 1.104 GB Notification: Performance of SimCode: time 2.31e-07/1.259, allocations: 0 / 1.66 GB, free: 5.059 MB / 1.104 GB Notification: Performance of Templates: time 0.005419/1.264, allocations: 2.796 MB / 1.663 GB, free: 2.332 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches