Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.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.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") [: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.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.0009501/0.0009502, allocations: 185.2 kB / 487 MB, free: 5.309 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.34 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.0008288/0.0008287, allocations: 94 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.446e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1834, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6878, allocations: 148 MB / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000169/0.688, allocations: 69.88 kB / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001225/0.6892, allocations: 296.8 kB / 1.35 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6892, allocations: 0 / 1.35 GB, free: 15.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002295/0.6895, allocations: 336.3 kB / 1.35 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6895, allocations: 8.75 kB / 1.35 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.6896, allocations: 14.11 kB / 1.35 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.09e-05/0.6896, allocations: 162.9 kB / 1.351 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.6897, allocations: 2.906 kB / 1.351 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.6897, allocations: 1.438 kB / 1.351 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.696e-05/0.6897, allocations: 9.375 kB / 1.351 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.141e-05/0.6898, allocations: 35.75 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.6898, allocations: 3.984 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.6898, allocations: 1.359 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6898, allocations: 1.031 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.6901, allocations: 249.5 kB / 1.351 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.014e-05/0.6902, allocations: 26.58 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.6902, allocations: 18.33 kB / 1.351 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.6902, allocations: 0 / 1.351 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.6902, allocations: 31.5 kB / 1.351 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.6902, allocations: 0 / 1.351 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001182/0.6904, allocations: 38.42 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.533e-05/0.6904, allocations: 55.83 kB / 1.351 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.12e-05/0.6904, allocations: 95.55 kB / 1.351 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.6904, allocations: 29.73 kB / 1.351 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.506e-05/0.6905, allocations: 89.17 kB / 1.351 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.6905, allocations: 9.734 kB / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.6905, allocations: 0 / 1.351 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.324e-05/0.6905, allocations: 312.1 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.6905, allocations: 10.34 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.6906, allocations: 2.5 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.548e-05/0.6906, allocations: 8.906 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6906, allocations: 1.344 kB / 1.352 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.596e-05/0.6906, allocations: 47.14 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.6907, allocations: 5.344 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6907, allocations: 1.094 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.6907, allocations: 0 / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.6908, allocations: 11.84 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.6908, allocations: 1.469 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.6908, allocations: 15.69 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.6909, allocations: 1.219 kB / 1.352 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 (2): * Single equations (assignments): 2 * 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 3.355e-05/0.6909, allocations: 106 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.6909, allocations: 1.438 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.794e-05/0.6909, allocations: 10.25 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.691, allocations: 0 / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.691, allocations: 1.312 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.691, allocations: 5.875 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.6911, allocations: 142.2 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.6911, allocations: 0 / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.183e-05/0.6911, allocations: 11.95 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6911, allocations: 1.406 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.6911, allocations: 0 / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.6912, allocations: 0 / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6912, allocations: 1.281 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.742e-05/0.6912, allocations: 144.3 kB / 1.352 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.6913, allocations: 78.2 kB / 1.352 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.6913, allocations: 0 / 1.352 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.6914, allocations: 17.27 kB / 1.352 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.6914, allocations: 3.844 kB / 1.352 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.6914, allocations: 4.031 kB / 1.352 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.931e-05/0.6914, allocations: 84.89 kB / 1.352 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000193/0.6916, allocations: 4.188 kB / 1.352 GB, free: 13.46 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 (2): * Single equations (assignments): 2 * 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 8.837e-05/0.6917, allocations: 104.2 kB / 1.352 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.907e-05/0.6918, allocations: 12.12 kB / 1.352 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.6918, allocations: 0 / 1.352 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.909e-05/0.6918, allocations: 10.88 kB / 1.352 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.692, allocations: 5.5 kB / 1.352 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001551/0.6921, allocations: 61.09 kB / 1.352 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.6922, allocations: 0.6881 MB / 1.353 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.6922, allocations: 0 / 1.353 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.001747/0.694, allocations: 412 kB / 1.353 GB, free: 12.55 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches