Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000794/0.000794, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008206/0.0008206, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8946/0.8946, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.747/1.747, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.787e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001774/0.001802, allocations: 1.247 MB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.00374, allocations: 1.567 MB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.003891, allocations: 11.88 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.004022, allocations: 27.61 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.004147, allocations: 87.3 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009754/0.005122, allocations: 0.4984 MB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000647/0.005769, allocations: 0.6598 MB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.006014, allocations: 113.2 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.006396, allocations: 363.4 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.00662, allocations: 195.5 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.263e-05/0.006693, allocations: 64 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.0068, allocations: 87.84 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-05/0.006875, allocations: 83.69 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.007026, allocations: 187.6 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000635/0.007661, allocations: 0.7558 MB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.007664, allocations: 0 / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007665, allocations: 0 / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.007679, allocations: 0 / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009916/0.00867, allocations: 0.8788 MB / 1.008 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.008709, allocations: 12.75 kB / 1.008 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.008809, allocations: 48.7 kB / 1.008 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007599/0.009569, allocations: 412.7 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.009601, allocations: 28.88 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.009663, allocations: 40.38 kB / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.01013, allocations: 453 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.01014, allocations: 192 / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.01016, allocations: 12.38 kB / 1.009 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.01016, allocations: 12.12 kB / 1.009 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.01056, allocations: 382.3 kB / 1.009 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.01162, allocations: 0.74 MB / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.01207, allocations: 480.1 kB / 1.01 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.01239, allocations: 393.4 kB / 1.01 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.01241, allocations: 4 kB / 1.01 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.0128, allocations: 455.6 kB / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=44): time 2.825e-06/0.0128, allocations: 0 / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.001011/0.01381, allocations: 1.109 MB / 1.012 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.01388, allocations: 191.9 kB / 1.012 GB, free: 1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.01409, allocations: 280.5 kB / 1.012 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.01413, allocations: 49.7 kB / 1.012 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01423, allocations: 168.9 kB / 1.013 GB, free: 500 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.0143, allocations: 130.9 kB / 1.013 GB, free: 368 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.01444, allocations: 142.1 kB / 1.013 GB, free: 216 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01455, allocations: 350.7 kB / 1.013 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.01499, allocations: 0.5197 MB / 1.014 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.01545, allocations: 0.6104 MB / 1.014 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.01614, allocations: 0.9175 MB / 1.015 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.01615, allocations: 4 kB / 1.015 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001056/0.0172, allocations: 1.26 MB / 1.016 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.0173, allocations: 263.2 kB / 1.017 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01731, allocations: 4 kB / 1.017 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01733, allocations: 4 kB / 1.017 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.01748, allocations: 67.89 kB / 1.017 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01749, allocations: 7.938 kB / 1.017 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.01785, allocations: 139.7 kB / 1.017 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.01792, allocations: 71.91 kB / 1.017 GB, free: 11.57 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.01812, allocations: 314.3 kB / 1.017 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.01815, allocations: 39.77 kB / 1.017 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.0182, allocations: 43.36 kB / 1.017 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.0182, allocations: 4 kB / 1.017 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01821, allocations: 3.938 kB / 1.017 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01822, allocations: 3.984 kB / 1.017 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.01926, allocations: 1.222 MB / 1.019 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01926, allocations: 0 / 1.019 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.01938, allocations: 63.89 kB / 1.019 GB, free: 9.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01939, allocations: 3.984 kB / 1.019 GB, free: 9.746 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.01941, allocations: 20 kB / 1.019 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01941, allocations: 0 / 1.019 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01941, allocations: 0 / 1.019 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.02009, allocations: 0.8922 MB / 1.02 GB, free: 8.758 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.02013, allocations: 43.69 kB / 1.02 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.02015, allocations: 12 kB / 1.02 GB, free: 8.703 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.02026, allocations: 23.97 kB / 1.02 GB, free: 8.68 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.02033, allocations: 39.94 kB / 1.02 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.02038, allocations: 51.88 kB / 1.02 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001278/0.0205, allocations: 191.1 kB / 1.02 GB, free: 8.402 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0205, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003036/0.02081, allocations: 107.9 kB / 1.02 GB, free: 8.297 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.02096, allocations: 119.1 kB / 1.02 GB, free: 8.172 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.022, allocations: 1.441 MB / 1.021 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.02201, allocations: 0 / 1.021 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.0224, allocations: 0.6267 MB / 1.022 GB, free: 5.812 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.02275, allocations: 94.23 kB / 1.022 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.02373, allocations: 0.9662 MB / 1.023 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.02386, allocations: 188.3 kB / 1.023 GB, free: 4.48 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.02392, allocations: 36.5 kB / 1.023 GB, free: 4.445 MB / 0.9792 GB Notification: Performance of SimCode: time 6.31e-07/0.02392, allocations: 0 / 1.023 GB, free: 4.445 MB / 0.9792 GB Notification: Performance of Templates: time 0.006635/0.03055, allocations: 5.696 MB / 1.029 GB, free: 14.79 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.027926184237003]