Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_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.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.708/1.708, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009148/0.0009148, allocations: 197.2 kB / 490.8 MB, free: 1.941 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.058/1.058, allocations: 221.3 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000818/0.000818, allocations: 87.55 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.621e-06/5.651e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1628, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.6088, allocations: 149.9 MB / 1.358 GB, free: 17.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.609, allocations: 71.41 kB / 1.358 GB, free: 17.05 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01219/0.6212, allocations: 4.601 MB / 1.363 GB, free: 16.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.6212, allocations: 8.188 kB / 1.363 GB, free: 16.75 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00065/0.6219, allocations: 0.5623 MB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.6219, allocations: 8.812 kB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.622, allocations: 32.53 kB / 1.363 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.6224, allocations: 286.7 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.6224, allocations: 8.312 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.6225, allocations: 15.25 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001561/0.6226, allocations: 79.36 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.6228, allocations: 167.9 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6228, allocations: 1.219 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.6229, allocations: 7.922 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.6229, allocations: 4.219 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.6239, allocations: 0.9602 MB / 1.365 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.835e-05/0.624, allocations: 123 kB / 1.365 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.6241, allocations: 51.45 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.6241, allocations: 5.969 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.6242, allocations: 128.5 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.6242, allocations: 0 / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002487/0.6245, allocations: 133.3 kB / 1.365 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.6245, allocations: 162.5 kB / 1.365 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.6247, allocations: 188.3 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.6247, allocations: 32.25 kB / 1.365 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.6248, allocations: 128.2 kB / 1.366 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.6248, allocations: 33.36 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.6248, allocations: 3.688 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.6249, allocations: 337 kB / 1.366 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.6251, allocations: 81.3 kB / 1.366 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.6253, allocations: 162.2 kB / 1.366 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.6256, allocations: 102.6 kB / 1.366 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6256, allocations: 2.812 kB / 1.366 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005643/0.6262, allocations: 272.2 kB / 1.366 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.6262, allocations: 8.344 kB / 1.366 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6262, allocations: 5.312 kB / 1.367 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.6262, allocations: 3.938 kB / 1.367 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.6264, allocations: 44.16 kB / 1.367 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.6264, allocations: 4.406 kB / 1.367 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.6269, allocations: 119.5 kB / 1.367 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.6269, allocations: 13.88 kB / 1.367 GB, free: 30.1 MB / 0.8386 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 7.928e-05/0.627, allocations: 120.2 kB / 1.367 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.6271, allocations: 21.28 kB / 1.367 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.6271, allocations: 26.98 kB / 1.367 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.6271, allocations: 2.375 kB / 1.367 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6271, allocations: 1.156 kB / 1.367 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6271, allocations: 2.422 kB / 1.367 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.6273, allocations: 228.9 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6273, allocations: 1 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.6275, allocations: 38.88 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6275, allocations: 6.25 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.6275, allocations: 2.656 kB / 1.367 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.6275, allocations: 8.031 kB / 1.367 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6275, allocations: 1.156 kB / 1.367 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001783/0.6277, allocations: 218.1 kB / 1.367 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.6277, allocations: 96.5 kB / 1.367 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.6278, allocations: 6.562 kB / 1.367 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.6279, allocations: 27.38 kB / 1.367 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.628, allocations: 21.84 kB / 1.367 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.628, allocations: 10.69 kB / 1.367 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001031/0.6281, allocations: 154 kB / 1.368 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002734/0.6284, allocations: 55.98 kB / 1.368 GB, free: 29.41 MB / 0.8386 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.0001215/0.6285, allocations: 121.4 kB / 1.368 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.6288, allocations: 218.9 kB / 1.368 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.6288, allocations: 4.125 kB / 1.368 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.6289, allocations: 52.41 kB / 1.368 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.6292, allocations: 33.84 kB / 1.368 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.6296, allocations: 264.2 kB / 1.368 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.6299, allocations: 0.7689 MB / 1.369 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.6299, allocations: 0 / 1.369 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.005226/0.6351, allocations: 3.105 MB / 1.372 GB, free: 28.16 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches