Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") [: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 1.783/1.783, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009735/0.0009735, allocations: 185.2 kB / 487 MB, free: 5.34 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.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0008024/0.0008024, allocations: 91.56 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.714e-06/7.734e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1771, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5301/0.7073, allocations: 148.3 MB / 1.35 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.7075, allocations: 70.67 kB / 1.35 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003725/0.7113, allocations: 1.313 MB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.7113, allocations: 4.344 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004278/0.7117, allocations: 425.4 kB / 1.352 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.7118, allocations: 10.28 kB / 1.352 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.7118, allocations: 19.5 kB / 1.352 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.712, allocations: 211.3 kB / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.712, allocations: 4.125 kB / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.7121, allocations: 12.23 kB / 1.352 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001805/0.7122, allocations: 94.48 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.7124, allocations: 116.7 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.7124, allocations: 1.375 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.7125, allocations: 0.8125 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7125, allocations: 2.75 kB / 1.352 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/0.7132, allocations: 492 kB / 1.353 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.7133, allocations: 62.25 kB / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.7134, allocations: 31.11 kB / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.7134, allocations: 2.641 kB / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.7134, allocations: 34.56 kB / 1.353 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.7134, allocations: 4 kB / 1.353 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001965/0.7136, allocations: 94.78 kB / 1.353 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.7137, allocations: 52.78 kB / 1.353 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.7138, allocations: 128.7 kB / 1.353 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.7138, allocations: 26.83 kB / 1.353 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.7138, allocations: 118.5 kB / 1.353 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.7138, allocations: 34.33 kB / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.7139, allocations: 0 / 1.353 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.7139, allocations: 319.3 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.714, allocations: 28.53 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.714, allocations: 29.12 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.484e-05/0.7141, allocations: 28.88 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.7141, allocations: 0 / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001658/0.7142, allocations: 112.6 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7143, allocations: 6.578 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.7143, allocations: 1.094 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.7143, allocations: 0.9688 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.7145, allocations: 34.44 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.7145, allocations: 1 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.7146, allocations: 18.47 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.7146, allocations: 6.922 kB / 1.354 GB, free: 14.06 MB / 0.8073 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 (13): * Single equations (assignments): 13 * 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 4.354e-05/0.7146, allocations: 102 kB / 1.354 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.7147, allocations: 16.75 kB / 1.354 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.7149, allocations: 105.5 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7149, allocations: 1.406 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7149, allocations: 2.922 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7149, allocations: 0 / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.7152, allocations: 390.3 kB / 1.354 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7152, allocations: 96 / 1.354 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.7153, allocations: 28.75 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.7154, allocations: 3.297 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.7154, allocations: 8.469 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.7154, allocations: 1.188 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7154, allocations: 1.125 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001539/0.7155, allocations: 245.5 kB / 1.355 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.7156, allocations: 91.12 kB / 1.355 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.7156, allocations: 1.062 kB / 1.355 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.7157, allocations: 30.06 kB / 1.355 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.7158, allocations: 10.53 kB / 1.355 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.7158, allocations: 4.453 kB / 1.355 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.546e-05/0.7159, allocations: 106.4 kB / 1.355 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002223/0.7161, allocations: 25.56 kB / 1.355 GB, free: 13.19 MB / 0.8073 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 (10): * Single equations (assignments): 10 * 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.000105/0.7162, allocations: 112.3 kB / 1.355 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.7163, allocations: 72.47 kB / 1.355 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7164, allocations: 0.9688 kB / 1.355 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/0.7164, allocations: 28.81 kB / 1.355 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.7166, allocations: 12.69 kB / 1.355 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.7169, allocations: 165.8 kB / 1.355 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.7173, allocations: 0.7259 MB / 1.356 GB, free: 28.27 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7173, allocations: 0.9688 kB / 1.356 GB, free: 28.27 MB / 0.823 GB Notification: Performance of Templates: time 0.002961/0.7202, allocations: 1.029 MB / 1.357 GB, free: 28.18 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches