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.Division.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.Division,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|div1.u1|div1.u2|div1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division") [: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.271/1.271, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.001016/0.001016, allocations: 188 kB / 316 MB, free: 3.59 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.317/1.317, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.001428/0.001428, allocations: 87.39 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.113e-05, allocations: 8 kB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2362, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6809/0.9171, allocations: 131.6 MB / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.9173, allocations: 70.64 kB / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001978/0.9193, allocations: 0.5407 MB / 1.014 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.9193, allocations: 0 / 1.014 GB, free: 6.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004164/0.9198, allocations: 361.7 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9198, allocations: 12.03 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.9199, allocations: 3.906 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.92, allocations: 167 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.92, allocations: 4 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.92, allocations: 0 / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.461e-05/0.9201, allocations: 18.75 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.9202, allocations: 45.03 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9202, allocations: 0 / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9202, allocations: 0 / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.9203, allocations: 6.672 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.9207, allocations: 295.4 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.9208, allocations: 29.8 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.9208, allocations: 19.84 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.9208, allocations: 0 / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.9209, allocations: 30.56 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.9209, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001537/0.921, allocations: 48.55 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.9211, allocations: 58.14 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.9211, allocations: 104.4 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.9212, allocations: 25.7 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.9212, allocations: 87.58 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.9212, allocations: 3.906 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/0.9212, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.9213, allocations: 322.4 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.9214, allocations: 7.438 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.9214, allocations: 8 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.9214, allocations: 7.438 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9214, allocations: 3.906 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.344e-05/0.9215, allocations: 48.31 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.9215, allocations: 8 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.9216, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.9216, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.9217, allocations: 23.98 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.9217, allocations: 0.6562 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/0.9218, allocations: 19.89 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.9219, allocations: 11.98 kB / 1.015 GB, free: 4.711 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 (3): * Single equations (assignments): 3 * 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.816e-05/0.9219, allocations: 108.5 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.922, allocations: 3.906 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.922, allocations: 8 kB / 1.016 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.922, allocations: 0 / 1.016 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.922, allocations: 3.938 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.922, allocations: 0 / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.9222, allocations: 148.8 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9222, allocations: 0 / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.9223, allocations: 27.97 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.9223, allocations: 0 / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.9223, allocations: 3.906 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9223, allocations: 0.875 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9223, allocations: 0 / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001221/0.9224, allocations: 153 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.9225, allocations: 77.11 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.9225, allocations: 4 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.9226, allocations: 19.98 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.9227, allocations: 3.984 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.9227, allocations: 11.88 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.823e-05/0.9227, allocations: 86.81 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001992/0.9229, allocations: 7.938 kB / 1.016 GB, free: 4 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 (3): * Single equations (assignments): 3 * 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.0001336/0.9231, allocations: 99.48 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.496e-05/0.9232, allocations: 23.23 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.9232, allocations: 0 / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.9232, allocations: 15.03 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.9234, allocations: 7.75 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.9237, allocations: 83.39 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.9239, allocations: 0.6954 MB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.9239, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of Templates: time 0.002212/0.9262, allocations: 0.6109 MB / 1.018 GB, free: 2.453 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Division.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches