Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.923/2.923, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 72.06 kB / 1.109 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9823/0.9844, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002871/0.9872, allocations: 1.348 MB / 1.275 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.9896, allocations: 1.558 MB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.9897, allocations: 4 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.9898, allocations: 35.55 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.99, allocations: 75.38 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.9913, allocations: 0.4984 MB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.992, allocations: 0.6482 MB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.9923, allocations: 120.9 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.9926, allocations: 255.3 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.993, allocations: 251 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.9931, allocations: 64 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.9932, allocations: 79.98 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.9933, allocations: 79.7 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.9936, allocations: 251 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007662/0.9943, allocations: 0.6803 MB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.9943, allocations: 4 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9943, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.9944, allocations: 11.88 kB / 1.28 GB, free: 14.46 MB / 0.9825 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.001545/0.9959, allocations: 0.9465 MB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.9959, allocations: 8.031 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.9961, allocations: 56.66 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.9975, allocations: 472.1 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.9975, allocations: 28.94 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.9976, allocations: 44.36 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.9983, allocations: 321.3 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.9984, allocations: 3.938 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.9984, allocations: 11.94 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.9984, allocations: 4 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.9991, allocations: 254 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/1.001, allocations: 0.9083 MB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/1.002, allocations: 359 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/1.002, allocations: 263.4 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/1.002, allocations: 4 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006274/1.003, allocations: 322.9 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/1.003, allocations: 4 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001757/1.004, allocations: 0.8306 MB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/1.005, allocations: 195.9 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/1.005, allocations: 288.5 kB / 1.285 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/1.005, allocations: 41.7 kB / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/1.005, allocations: 168.8 kB / 1.285 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/1.005, allocations: 142.9 kB / 1.285 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/1.006, allocations: 130.1 kB / 1.285 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.006, allocations: 346.8 kB / 1.286 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/1.006, allocations: 284.7 kB / 1.286 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/1.007, allocations: 353.8 kB / 1.286 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.008, allocations: 0.909 MB / 1.287 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.008, allocations: 3.938 kB / 1.287 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00177/1.01, allocations: 1.002 MB / 1.288 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/1.01, allocations: 263.3 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/1.01, allocations: 0 / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.01, allocations: 8.281 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/1.011, allocations: 63.89 kB / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.011, allocations: 8 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/1.011, allocations: 147.6 kB / 1.289 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.011, allocations: 63.92 kB / 1.289 GB, free: 4.695 MB / 0.9825 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.00034/1.012, allocations: 318.1 kB / 1.289 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/1.012, allocations: 47.73 kB / 1.289 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.494e-05/1.012, allocations: 39.5 kB / 1.289 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.012, allocations: 7.938 kB / 1.289 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.012, allocations: 4 kB / 1.289 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.012, allocations: 3.984 kB / 1.289 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/1.014, allocations: 1.191 MB / 1.29 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.014, allocations: 4 kB / 1.29 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/1.014, allocations: 63.89 kB / 1.29 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.014, allocations: 4 kB / 1.29 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/1.014, allocations: 8 kB / 1.29 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.014, allocations: 7.984 kB / 1.29 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.014, allocations: 3.938 kB / 1.29 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/1.015, allocations: 0.7589 MB / 1.291 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.016, allocations: 124.7 kB / 1.291 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/1.016, allocations: 8 kB / 1.291 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/1.016, allocations: 27.97 kB / 1.291 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.016, allocations: 39.89 kB / 1.291 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/1.016, allocations: 51.88 kB / 1.291 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002187/1.016, allocations: 195.1 kB / 1.292 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.016, allocations: 0 / 1.292 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004638/1.017, allocations: 111.9 kB / 1.292 GB, free: 1.5 MB / 0.9825 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.0002262/1.017, allocations: 128.3 kB / 1.292 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001613/1.019, allocations: 1.043 MB / 1.293 GB, free: 216 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.019, allocations: 4.062 kB / 1.293 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006508/1.019, allocations: 0.4929 MB / 1.293 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/1.02, allocations: 86.09 kB / 1.293 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/1.021, allocations: 0.8168 MB / 1.294 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/1.022, allocations: 0.7963 MB / 1.295 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002163/1.022, allocations: 91.2 kB / 1.295 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/1.022, allocations: 35.42 kB / 1.295 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.022, allocations: 4 kB / 1.295 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.01307/1.035, allocations: 6.694 MB / 1.302 GB, free: 7.164 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.431587124243379]