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.Feedback.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.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback") [: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.37/1.37, allocations: 249.4 MB / 256.7 MB, free: 6.914 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.001297/0.001297, allocations: 180.5 kB / 316 MB, free: 3.547 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.509/1.509, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.001076/0.001076, allocations: 83.64 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.128e-05/1.13e-05, allocations: 8 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1715, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.6411, allocations: 131.6 MB / 1.013 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.6414, allocations: 77.62 kB / 1.013 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002112/0.6435, allocations: 0.5472 MB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6435, allocations: 0 / 1.014 GB, free: 6.531 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.0003923/0.6439, allocations: 369.7 kB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.644, allocations: 8.031 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.644, allocations: 3.906 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.6441, allocations: 167 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.6441, allocations: 4 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.6441, allocations: 4 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.8e-05/0.6442, allocations: 14.44 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.853e-05/0.6443, allocations: 47.16 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.6443, allocations: 0 / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.6444, allocations: 0 / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.6444, allocations: 0 / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.6449, allocations: 298 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.6449, allocations: 26.39 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.645, allocations: 27.48 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.645, allocations: 4 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.645, allocations: 30.56 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.645, allocations: 0 / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.6452, allocations: 47.98 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.6452, allocations: 59.23 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.6453, allocations: 104.6 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6453, allocations: 25.7 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.6453, allocations: 87.33 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.6454, allocations: 3.906 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.6454, allocations: 0 / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.6455, allocations: 318.5 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.6455, allocations: 11.5 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.6455, allocations: 8 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2e-05/0.6455, allocations: 7.188 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6455, allocations: 3.906 kB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.213e-05/0.6456, allocations: 48.88 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.505e-06/0.6457, allocations: 4 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6457, allocations: 4.75 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.6457, allocations: 0 / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.6458, allocations: 23.98 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.6458, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-05/0.6459, allocations: 23.88 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.646, allocations: 4 kB / 1.015 GB, free: 4.656 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 5.582e-05/0.646, allocations: 108.9 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.6461, allocations: 7.281 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.6461, allocations: 11.94 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6461, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6461, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6461, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.6462, allocations: 145.3 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.6462, allocations: 0 / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.6464, allocations: 27.97 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6464, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.6464, allocations: 4.781 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6464, allocations: 0 / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6464, allocations: 0 / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000121/0.6465, allocations: 150.6 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.6466, allocations: 77.11 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.6466, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.6467, allocations: 30.72 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.6468, allocations: 7.547 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.6468, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.028e-05/0.6468, allocations: 94.69 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000207/0.647, allocations: 7.938 kB / 1.016 GB, free: 3.941 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 9.832e-05/0.6471, allocations: 99.25 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.407e-05/0.6472, allocations: 22.92 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.6472, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.6473, allocations: 15.31 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.6474, allocations: 4 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.6477, allocations: 86.84 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.6479, allocations: 0.6876 MB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.6479, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of Templates: time 0.002226/0.6502, allocations: 0.6096 MB / 1.018 GB, free: 2.395 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Feedback.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Feedback.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches