Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") [: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.683/1.683, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.000909/0.000909, allocations: 181.2 kB / 490.8 MB, free: 1.953 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.041/1.041, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008142/0.0008142, allocations: 91.03 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.441e-06/5.46e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1624, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5975, allocations: 150 MB / 1.358 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.5977, allocations: 68.61 kB / 1.358 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01654/0.6143, allocations: 6.57 MB / 1.365 GB, free: 16.92 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.6143, allocations: 4.156 kB / 1.365 GB, free: 16.92 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004856/0.6148, allocations: 0.5891 MB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.6148, allocations: 12.31 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.6149, allocations: 37.2 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.6154, allocations: 315.3 kB / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.6154, allocations: 7.578 kB / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.6155, allocations: 26.05 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002087/0.6157, allocations: 140.9 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.6159, allocations: 209.3 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.616, allocations: 3.938 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.616, allocations: 3.094 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.616, allocations: 8.688 kB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.617, allocations: 0.7726 MB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.6172, allocations: 190.1 kB / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.6175, allocations: 283 kB / 1.367 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.6175, allocations: 8.062 kB / 1.367 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.6177, allocations: 263.5 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/0.6177, allocations: 1.312 kB / 1.367 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0004804/0.6182, allocations: 372.5 kB / 1.368 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.6183, allocations: 147.7 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.6184, allocations: 199.1 kB / 1.368 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.6185, allocations: 37.39 kB / 1.368 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.6186, allocations: 114 kB / 1.368 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.6186, allocations: 75.14 kB / 1.368 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.6187, allocations: 9.938 kB / 1.368 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6188, allocations: 336.5 kB / 1.369 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.6191, allocations: 210.9 kB / 1.369 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.6194, allocations: 308 kB / 1.369 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/0.6201, allocations: 272.2 kB / 1.369 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6201, allocations: 1 kB / 1.369 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001116/0.6212, allocations: 0.6224 MB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6212, allocations: 5 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6212, allocations: 2.875 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6213, allocations: 9.422 kB / 1.37 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.6213, allocations: 25.11 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6213, allocations: 5.141 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/0.622, allocations: 161 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.6221, allocations: 70.16 kB / 1.37 GB, free: 30.68 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,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.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.0001366/0.6223, allocations: 150.8 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.6223, allocations: 29.38 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.6228, allocations: 406.4 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6228, allocations: 4.312 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6228, allocations: 0 / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6228, allocations: 2.625 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.6234, allocations: 0.7303 MB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6235, allocations: 1.125 kB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.6235, allocations: 21.06 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6235, allocations: 5.312 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.6236, allocations: 7.75 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6236, allocations: 0.9688 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6236, allocations: 1.25 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004288/0.624, allocations: 469.1 kB / 1.372 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.6241, allocations: 105.8 kB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.6241, allocations: 7.047 kB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6242, allocations: 5.359 kB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.6243, allocations: 30.56 kB / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.6243, allocations: 18.98 kB / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001143/0.6244, allocations: 156.3 kB / 1.372 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003636/0.6248, allocations: 84.58 kB / 1.372 GB, free: 29.83 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,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,booPul.y,booPul1.y,intPul.booPul.y,intPul1.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.0001396/0.625, allocations: 122.3 kB / 1.372 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006401/0.6256, allocations: 0.5603 MB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6256, allocations: 4.906 kB / 1.373 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.6258, allocations: 192.2 kB / 1.373 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.6261, allocations: 43.83 kB / 1.373 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.6268, allocations: 466.2 kB / 1.374 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.6272, allocations: 0.8102 MB / 1.374 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/0.6272, allocations: 0 / 1.374 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.008805/0.636, allocations: 5.042 MB / 1.379 GB, free: 28.37 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches