Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [: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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.4 MB / 256.7 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 189.2 kB / 316 MB, free: 3.5 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.2 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001056, allocations: 82.23 kB / 0.671 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.304e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6892/0.9005, allocations: 132.4 MB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/0.9009, allocations: 68.7 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01556/0.9165, allocations: 2.391 MB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.289e-05/0.9166, allocations: 7.438 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.002046/0.9186, allocations: 0.5397 MB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.169e-05/0.9187, allocations: 8.031 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.9189, allocations: 27.7 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.9197, allocations: 240.6 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.9197, allocations: 11.91 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.9198, allocations: 15.98 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006255/0.9205, allocations: 157.9 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006558/0.9211, allocations: 198.8 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.9212, allocations: 0 / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.9213, allocations: 7.984 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.9213, allocations: 8 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.9238, allocations: 0.6461 MB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.9243, allocations: 172.5 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.9247, allocations: 114.6 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.9247, allocations: 0 / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005704/0.9253, allocations: 193 kB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 3.246e-06/0.9253, allocations: 7.875 kB / 1.019 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27): time 0.0008738/0.9262, allocations: 262.2 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.9263, allocations: 55.41 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.9266, allocations: 162.4 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.9267, allocations: 33.58 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.9268, allocations: 115.2 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.9269, allocations: 61.8 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.927, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.9272, allocations: 333.1 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.9275, allocations: 97.41 kB / 1.02 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.9279, allocations: 101.2 kB / 1.02 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.9282, allocations: 88.47 kB / 1.02 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9282, allocations: 0 / 1.02 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007678/0.929, allocations: 270.4 kB / 1.02 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.929, allocations: 4 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.929, allocations: 0 / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.9291, allocations: 4 kB / 1.02 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009731/0.93, allocations: 95.25 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.9301, allocations: 4.609 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.9308, allocations: 79.59 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.9309, allocations: 8 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0002096/0.9311, allocations: 126.4 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.9312, allocations: 27.66 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.9313, allocations: 22.02 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.9313, allocations: 3.984 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9314, allocations: 0 / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.9314, allocations: 4 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.9328, allocations: 0.5857 MB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.9328, allocations: 4 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.9335, allocations: 71.88 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.9335, allocations: 4 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.9336, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.9336, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.9336, allocations: 7.984 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008269/0.9344, allocations: 353.7 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.9345, allocations: 96.77 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.9347, allocations: 10.81 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007104/0.9354, allocations: 63.19 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.9356, allocations: 38.17 kB / 1.022 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.9357, allocations: 15.86 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001582/0.9358, allocations: 123.2 kB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005725/0.9364, allocations: 51.94 kB / 1.022 GB, free: 15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002683/0.9367, allocations: 122 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008126/0.9376, allocations: 256.4 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.9376, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.938, allocations: 144.4 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.9386, allocations: 31.25 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.9401, allocations: 338.1 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/0.9408, allocations: 0.7737 MB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of SimCode: time 4.9e-07/0.9408, allocations: 3.938 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.01362/0.9544, allocations: 3.481 MB / 1.027 GB, free: 10.03 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable extIndSig2.index in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat. Warning: Get data of variable extIndSig2.index from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat failed! Error: Could not read variable extIndSig2.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat. Warning: Get data of variable extIndSig2.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat failed! Error: Could not read variable extIndSig3.index in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat. Warning: Get data of variable extIndSig3.index from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat failed! Error: Could not read variable extIndSig3.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat. Warning: Get data of variable extIndSig3.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat failed! Error: Could not read variable extIndSig4.index in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat. Warning: Get data of variable extIndSig4.index from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat failed! Error: Could not read variable extIndSig4.y in file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat. Warning: Get data of variable extIndSig4.y from file Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat failed! " Variables in the reference:time,extIndSig.u[1],extIndSig.u[2],extIndSig.u[3],extIndSig.u[4],extIndSig.index,extIndSig.y,extIndSig1.index,extIndSig1.y,extIndSig2.index,extIndSig2.y,extIndSig3.index,extIndSig3.y,extIndSig4.index,extIndSig4.y Variables in the result:conInt.k,conInt1.k,extIndSig.allowOutOfRange,extIndSig.index,extIndSig.nin,extIndSig.outOfRangeValue,extIndSig.u[1],extIndSig.u[2],extIndSig.u[3],extIndSig.u[4],extIndSig.y,extIndSig1.allowOutOfRange,extIndSig1.index,extIndSig1.nin,extIndSig1.outOfRangeValue,extIndSig1.y,pul.amplitude,pul.nperiod,pul.offset,pul.period,pul.startTime,pul.width,pul1.amplitude,pul1.nperiod,pul1.offset,pul1.period,pul1.startTime,pul1.width,ram.duration,ram.height,ram.offset,ram.startTime,ram1.duration,ram1.height,ram1.offset,ram1.startTime,ram2.duration,ram2.height,ram2.offset,ram2.startTime,time