Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [: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.696/1.696, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009358/0.0009358, allocations: 189.3 kB / 490.8 MB, free: 1.938 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.056/1.056, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008112/0.0008112, allocations: 84 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.671e-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.4413/0.6041, allocations: 150 MB / 1.358 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001647/0.6043, allocations: 69.41 kB / 1.358 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01768/0.622, allocations: 7.121 MB / 1.365 GB, free: 16.74 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.6221, allocations: 5.469 kB / 1.365 GB, free: 16.74 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0004866/0.6226, allocations: 0.6245 MB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.6226, allocations: 9.531 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/0.6227, allocations: 43.08 kB / 1.366 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.6232, allocations: 353.1 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.6232, allocations: 12.38 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.6233, allocations: 38.61 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002267/0.6235, allocations: 154.1 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.6238, allocations: 228.6 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6238, allocations: 4 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.6238, allocations: 2.766 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.6238, allocations: 9.281 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.6249, allocations: 0.8743 MB / 1.367 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.6252, allocations: 235.6 kB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.6255, allocations: 276.1 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.6255, allocations: 3.594 kB / 1.368 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.6257, allocations: 269.5 kB / 1.368 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.333e-06/0.6258, allocations: 4 kB / 1.368 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.000495/0.6263, allocations: 381.6 kB / 1.368 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.6263, allocations: 143.4 kB / 1.369 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.6265, allocations: 233 kB / 1.369 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.6265, allocations: 36.83 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.6266, allocations: 137.2 kB / 1.369 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.6267, allocations: 75.3 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.6267, allocations: 10.31 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.6268, allocations: 346.5 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.6271, allocations: 220.2 kB / 1.37 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.6275, allocations: 311.8 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.6281, allocations: 283.6 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6281, allocations: 0.9375 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001174/0.6293, allocations: 0.6533 MB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.6293, allocations: 7.844 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6294, allocations: 5.984 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6294, allocations: 4.531 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.6296, allocations: 55.39 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6296, allocations: 9 kB / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006522/0.6302, allocations: 173.2 kB / 1.371 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.6303, allocations: 68.69 kB / 1.371 GB, free: 30.42 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: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,$PRE.intPul3.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001199/0.6305, allocations: 145.7 kB / 1.371 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.6305, allocations: 40.64 kB / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.631, allocations: 407.8 kB / 1.372 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.631, allocations: 4.844 kB / 1.372 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.631, allocations: 4 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.631, allocations: 1.5 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000689/0.6317, allocations: 0.7772 MB / 1.372 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6317, allocations: 0 / 1.372 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.6319, allocations: 58.42 kB / 1.373 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6319, allocations: 6.75 kB / 1.373 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6319, allocations: 1.438 kB / 1.373 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6319, allocations: 1.906 kB / 1.373 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6319, allocations: 1.219 kB / 1.373 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004267/0.6324, allocations: 480.8 kB / 1.373 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.6324, allocations: 105.8 kB / 1.373 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.6325, allocations: 2.438 kB / 1.373 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.6326, allocations: 9.203 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.6327, allocations: 31.12 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.6327, allocations: 19.66 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001316/0.6328, allocations: 180 kB / 1.373 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003471/0.6332, allocations: 89.73 kB / 1.373 GB, free: 29.56 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001483/0.6333, allocations: 137.7 kB / 1.374 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006526/0.634, allocations: 0.5757 MB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.634, allocations: 1.125 kB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.6342, allocations: 193.8 kB / 1.374 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.6346, allocations: 66.47 kB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.6353, allocations: 0.4899 MB / 1.375 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/0.6356, allocations: 0.8349 MB / 1.376 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.6356, allocations: 1.188 kB / 1.376 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of Templates: time 0.008692/0.6443, allocations: 5.466 MB / 1.381 GB, free: 27.93 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches