Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") [: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 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.4 MB / 256.7 MB, free: 7.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 181.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 90.59 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.305e-05/1.307e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1879, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6232/0.8112, allocations: 131.6 MB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.8115, allocations: 71.14 kB / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003896/0.8154, allocations: 0.7405 MB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.8154, allocations: 4 kB / 1.014 GB, free: 6.426 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004161/0.8158, allocations: 345.9 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8159, allocations: 8.031 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.8159, allocations: 4 kB / 1.014 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.8161, allocations: 167 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.8161, allocations: 0 / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-06/0.8161, allocations: 0 / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.116e-05/0.8162, allocations: 11.38 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/0.8163, allocations: 44.88 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8163, allocations: 0 / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.8163, allocations: 0 / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.8163, allocations: 0 / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.8168, allocations: 244.4 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.735e-05/0.8169, allocations: 25.95 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.8169, allocations: 12.67 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.817, allocations: 0 / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.817, allocations: 34.59 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.027e-06/0.817, allocations: 4 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.8172, allocations: 40.89 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.8173, allocations: 51.41 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.8174, allocations: 92.91 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.8174, allocations: 29.7 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.8174, allocations: 83.89 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.8175, allocations: 7.891 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.8175, allocations: 0 / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.8176, allocations: 314.9 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.8176, allocations: 7.375 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.8177, allocations: 4 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.8177, allocations: 3.625 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8177, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001054/0.8178, allocations: 45.08 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.8179, allocations: 7.984 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.8179, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.8179, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.818, allocations: 20.28 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8181, allocations: 7.844 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.424e-05/0.8182, allocations: 7.984 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.8182, allocations: 4 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.286e-05/0.8183, allocations: 108.9 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.8183, allocations: 3.984 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.8184, allocations: 11.17 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.8184, allocations: 4 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8184, allocations: 3.984 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8184, allocations: 0 / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.8186, allocations: 133.6 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8186, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.8187, allocations: 15.98 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8187, allocations: 0 / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.8187, allocations: 0 / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8188, allocations: 0 / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8188, allocations: 7.906 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000138/0.8189, allocations: 133.9 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.819, allocations: 85 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.819, allocations: 4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.8192, allocations: 8.031 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.8192, allocations: 7.984 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.8192, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.209e-05/0.8193, allocations: 79.03 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003815/0.8197, allocations: 4 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001705/0.8199, allocations: 105.7 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.82, allocations: 11.75 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.82, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.82, allocations: 7.938 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.8203, allocations: 18.53 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.8206, allocations: 55.78 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.821, allocations: 0.688 MB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.821, allocations: 4.125 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.00282/0.8238, allocations: 397.8 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches