Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") [: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.784/1.784, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.00107/0.00107, allocations: 185.3 kB / 487 MB, free: 5.363 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.126/1.126, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0008136/0.0008136, allocations: 98.94 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.975e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1796, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/0.6882, allocations: 149.1 MB / 1.351 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.6884, allocations: 70.11 kB / 1.351 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.008809/0.6972, allocations: 3.255 MB / 1.354 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.6972, allocations: 3.594 kB / 1.354 GB, free: 15.78 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005477/0.6978, allocations: 464.5 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6978, allocations: 10.06 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.6979, allocations: 17.2 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.6982, allocations: 236.5 kB / 1.355 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.6982, allocations: 4.812 kB / 1.355 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.6982, allocations: 9.219 kB / 1.355 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001456/0.6984, allocations: 73.83 kB / 1.355 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.6985, allocations: 109.7 kB / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.6986, allocations: 0 / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.6986, allocations: 1.25 kB / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.6986, allocations: 2.938 kB / 1.355 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.6993, allocations: 497.7 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.6996, allocations: 110.9 kB / 1.356 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.362e-05/0.6997, allocations: 67 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.6997, allocations: 7.469 kB / 1.356 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.6998, allocations: 99.52 kB / 1.356 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.6998, allocations: 5.031 kB / 1.356 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0002263/0.7001, allocations: 128.4 kB / 1.356 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.446e-05/0.7001, allocations: 56.03 kB / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.7002, allocations: 133.1 kB / 1.356 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.7002, allocations: 26.39 kB / 1.356 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.7002, allocations: 103.1 kB / 1.356 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.7003, allocations: 64.89 kB / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.7003, allocations: 0 / 1.356 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.7003, allocations: 328.5 kB / 1.357 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.7004, allocations: 48.47 kB / 1.357 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.7005, allocations: 69.88 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.915e-05/0.7006, allocations: 54.22 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7006, allocations: 0 / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002485/0.7009, allocations: 168.2 kB / 1.357 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7009, allocations: 13.47 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7009, allocations: 0.875 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.7009, allocations: 5.547 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.7012, allocations: 47.08 kB / 1.357 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.7012, allocations: 2.016 kB / 1.357 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.7013, allocations: 31.75 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.7014, allocations: 4.375 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 6.863e-05/0.7014, allocations: 109.3 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.7015, allocations: 14.41 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.7017, allocations: 151.8 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7017, allocations: 2.969 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7017, allocations: 5.453 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7018, allocations: 1.125 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.7023, allocations: 0.4962 MB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7023, allocations: 1.844 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.7025, allocations: 43.78 kB / 1.358 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.7025, allocations: 6.562 kB / 1.358 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.7025, allocations: 4.547 kB / 1.358 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7025, allocations: 2.781 kB / 1.358 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.7025, allocations: 13.75 kB / 1.358 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003169/0.7029, allocations: 396 kB / 1.358 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.7029, allocations: 91.61 kB / 1.358 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.7029, allocations: 7.906 kB / 1.358 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.7031, allocations: 21.05 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.7032, allocations: 20.5 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.7032, allocations: 6.188 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.746e-05/0.7032, allocations: 106.6 kB / 1.358 GB, free: 13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002603/0.7035, allocations: 31.58 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000136/0.7036, allocations: 111.7 kB / 1.359 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.7039, allocations: 117.9 kB / 1.359 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7039, allocations: 1.031 kB / 1.359 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.704, allocations: 71.59 kB / 1.359 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.7042, allocations: 18.42 kB / 1.359 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.7047, allocations: 269.9 kB / 1.359 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.7049, allocations: 0.756 MB / 1.36 GB, free: 12 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.7049, allocations: 0.6875 kB / 1.36 GB, free: 12 MB / 0.8073 GB Notification: Performance of Templates: time 0.003905/0.7088, allocations: 1.585 MB / 1.361 GB, free: 11.89 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches