Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [: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.787/1.787, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001047/0.001047, allocations: 180.6 kB / 487 MB, free: 5.43 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.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.484 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.0008208/0.0008208, allocations: 95.05 kB / 0.9213 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.663e-06/6.683e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1754, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5042/0.6796, allocations: 149 MB / 1.351 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001651/0.6798, allocations: 66.22 kB / 1.351 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0114/0.6912, allocations: 3.997 MB / 1.355 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.6912, allocations: 7.062 kB / 1.355 GB, free: 15.56 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005722/0.6918, allocations: 0.5222 MB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.6918, allocations: 13.22 kB / 1.355 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.6919, allocations: 21.67 kB / 1.355 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.6922, allocations: 248.9 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.6922, allocations: 3.062 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.6923, allocations: 12.27 kB / 1.355 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/0.6924, allocations: 57.91 kB / 1.356 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.6926, allocations: 120.6 kB / 1.356 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.6926, allocations: 9.953 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.6926, allocations: 1.562 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.6926, allocations: 6.656 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.6935, allocations: 0.8799 MB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.6936, allocations: 116.6 kB / 1.357 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.6937, allocations: 57.66 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.6937, allocations: 0.9688 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.6939, allocations: 130.6 kB / 1.357 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.6939, allocations: 7.922 kB / 1.357 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002518/0.6941, allocations: 122.1 kB / 1.357 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.6942, allocations: 161 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.6943, allocations: 169.4 kB / 1.357 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.6943, allocations: 29.92 kB / 1.357 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.6944, allocations: 125 kB / 1.357 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.6944, allocations: 25.84 kB / 1.357 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.6945, allocations: 3.25 kB / 1.357 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.6945, allocations: 331.9 kB / 1.358 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.6947, allocations: 72.84 kB / 1.358 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.6948, allocations: 145.7 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.6952, allocations: 94.14 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6952, allocations: 0 / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006082/0.6958, allocations: 272.4 kB / 1.358 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.6958, allocations: 4.531 kB / 1.358 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6958, allocations: 2.094 kB / 1.358 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6958, allocations: 7.5 kB / 1.358 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.696, allocations: 39.86 kB / 1.358 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.696, allocations: 7.984 kB / 1.358 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.6965, allocations: 116.5 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.6966, allocations: 12.16 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.819e-05/0.6966, allocations: 123.4 kB / 1.359 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.6967, allocations: 20.88 kB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.6967, allocations: 19.59 kB / 1.359 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6967, allocations: 3 kB / 1.359 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6967, allocations: 1.312 kB / 1.359 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6967, allocations: 2.75 kB / 1.359 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.6969, allocations: 216.7 kB / 1.359 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6969, allocations: 1.469 kB / 1.359 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.6971, allocations: 39.22 kB / 1.359 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6971, allocations: 6.031 kB / 1.359 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.6971, allocations: 3.641 kB / 1.359 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6971, allocations: 1.312 kB / 1.359 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6971, allocations: 1.438 kB / 1.359 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000196/0.6973, allocations: 217.6 kB / 1.359 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.6974, allocations: 95.17 kB / 1.359 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.6974, allocations: 8.422 kB / 1.359 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.6976, allocations: 31.64 kB / 1.359 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.6976, allocations: 16.47 kB / 1.359 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.6976, allocations: 6.188 kB / 1.359 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.535e-05/0.6977, allocations: 139.5 kB / 1.359 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002764/0.698, allocations: 52.33 kB / 1.359 GB, free: 12.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001207/0.6981, allocations: 115.9 kB / 1.36 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.6985, allocations: 213.9 kB / 1.36 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6985, allocations: 0 / 1.36 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.6986, allocations: 54.05 kB / 1.36 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.6988, allocations: 41.89 kB / 1.36 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.6993, allocations: 226.3 kB / 1.36 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.6995, allocations: 0.7508 MB / 1.361 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/0.6995, allocations: 1 kB / 1.361 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of Templates: time 0.00546/0.7049, allocations: 2.657 MB / 1.363 GB, free: 10.96 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches