Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedback1.u1|feedback1.u2|feedback1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.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 9.1.1-maint.9.1.x/package.mo): time 1.916/1.916, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001168/0.001168, allocations: 188.9 kB / 487 MB, free: 5.367 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.264/1.264, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.0009829/0.0009828, allocations: 89.69 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.913e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2386, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6226/0.8613, allocations: 148.6 MB / 1.35 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.8616, allocations: 88.62 kB / 1.35 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002109/0.8638, allocations: 0.5459 MB / 1.351 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.8638, allocations: 1.094 kB / 1.351 GB, free: 15.96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003479/0.8641, allocations: 366.2 kB / 1.351 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8642, allocations: 9.531 kB / 1.351 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.8642, allocations: 6.344 kB / 1.351 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.406e-05/0.8643, allocations: 170.8 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.8643, allocations: 1.156 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.8644, allocations: 1.062 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.962e-05/0.8645, allocations: 23.34 kB / 1.351 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.8645, allocations: 40.56 kB / 1.352 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.8646, allocations: 0 / 1.352 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.8646, allocations: 1.031 kB / 1.352 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8646, allocations: 5.781 kB / 1.352 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.865, allocations: 287.4 kB / 1.352 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.8651, allocations: 34.78 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.8651, allocations: 20.84 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.8652, allocations: 4.781 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.8652, allocations: 35.59 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8652, allocations: 3.938 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000159/0.8654, allocations: 52.47 kB / 1.352 GB, free: 15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.8654, allocations: 52.44 kB / 1.352 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/0.8654, allocations: 97.2 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.8655, allocations: 26.77 kB / 1.352 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.8655, allocations: 85.88 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.8655, allocations: 10.53 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.8655, allocations: 4 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.8656, allocations: 318.5 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.8656, allocations: 7.719 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.8656, allocations: 4.781 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.15e-05/0.8657, allocations: 7.781 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8657, allocations: 2.562 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.866e-05/0.8658, allocations: 57.33 kB / 1.353 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.8658, allocations: 5.406 kB / 1.353 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.8658, allocations: 0 / 1.353 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.8658, allocations: 4.688 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.8659, allocations: 22.59 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.866, allocations: 0.9062 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.8661, allocations: 21.34 kB / 1.353 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.8661, allocations: 4.531 kB / 1.353 GB, free: 14.37 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 (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 4.839e-05/0.8661, allocations: 103.4 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.8662, allocations: 5.125 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.8662, allocations: 8.594 kB / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.8662, allocations: 2.734 kB / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8662, allocations: 4 kB / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8662, allocations: 1.312 kB / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.8663, allocations: 148.4 kB / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.8663, allocations: 0 / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.8665, allocations: 21.12 kB / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8665, allocations: 5.312 kB / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.8665, allocations: 4.969 kB / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8665, allocations: 0 / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8665, allocations: 0.9688 kB / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.537e-05/0.8666, allocations: 145.2 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.8666, allocations: 82.52 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.8666, allocations: 2.266 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.8668, allocations: 21.31 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.8668, allocations: 10.62 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.8668, allocations: 1.094 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.375e-05/0.8669, allocations: 82.72 kB / 1.353 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002004/0.8671, allocations: 10.16 kB / 1.353 GB, free: 13.77 MB / 0.8073 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.997e-05/0.8672, allocations: 106.7 kB / 1.353 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.903e-05/0.8673, allocations: 25.45 kB / 1.353 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.8673, allocations: 1.281 kB / 1.353 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.8673, allocations: 15.83 kB / 1.353 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.8675, allocations: 3.703 kB / 1.353 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.8677, allocations: 75.31 kB / 1.354 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.868, allocations: 0.6974 MB / 1.354 GB, free: 28.89 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.868, allocations: 0 / 1.354 GB, free: 28.89 MB / 0.823 GB Notification: Performance of Templates: time 0.002369/0.8704, allocations: 0.612 MB / 1.355 GB, free: 28.84 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Feedback.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Feedback.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches