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.001644/0.001644, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001892/0.001892, allocations: 192.7 kB / 22.17 MB, free: 5.656 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.534/1.534, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.843/2.843, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.002087/0.002087, allocations: 71.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9203/0.9223, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002811/0.9251, allocations: 1.356 MB / 1.275 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.9274, allocations: 1.554 MB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.9275, allocations: 4 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.9277, allocations: 31.55 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.9279, allocations: 79.38 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.9291, allocations: 0.4971 MB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.9298, allocations: 0.6482 MB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.9301, allocations: 120.9 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.9304, allocations: 259.3 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.9307, allocations: 247 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.9309, allocations: 64 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.931, allocations: 79.98 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.9311, allocations: 83.69 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.9314, allocations: 250.9 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007788/0.9322, allocations: 0.6803 MB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9322, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9322, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.9322, allocations: 3.938 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.001486/0.9337, allocations: 0.9426 MB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.9337, allocations: 8.031 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.9339, allocations: 64.66 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.9352, allocations: 468 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.9353, allocations: 32.94 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/0.9353, allocations: 44.36 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.936, allocations: 317.3 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.9361, allocations: 3.938 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.9361, allocations: 12 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.9361, allocations: 7.938 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.9368, allocations: 258 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.9385, allocations: 0.9083 MB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.9392, allocations: 359 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.9397, allocations: 256.8 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.9398, allocations: 4 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006355/0.9404, allocations: 326.9 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.936e-06/0.9404, allocations: 0 / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001739/0.9421, allocations: 0.8384 MB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.9423, allocations: 187.9 kB / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.9426, allocations: 288.5 kB / 1.285 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.528e-05/0.9427, allocations: 41.7 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.9428, allocations: 172.9 kB / 1.285 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.943, allocations: 134.9 kB / 1.285 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.9432, allocations: 134.1 kB / 1.285 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.9434, allocations: 346.8 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.944, allocations: 280.8 kB / 1.286 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/0.9447, allocations: 357.8 kB / 1.286 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.946, allocations: 0.9128 MB / 1.287 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.9461, allocations: 3.938 kB / 1.287 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001786/0.9478, allocations: 1.002 MB / 1.288 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.948, allocations: 259.3 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.948, allocations: 0 / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.9481, allocations: 11.94 kB / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.9484, allocations: 67.83 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9484, allocations: 8 kB / 1.289 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.9492, allocations: 139.6 kB / 1.289 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.9493, allocations: 63.92 kB / 1.289 GB, free: 4.691 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.0003737/0.9497, allocations: 326.1 kB / 1.289 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.9497, allocations: 39.77 kB / 1.289 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.813e-05/0.9498, allocations: 43.48 kB / 1.289 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.9498, allocations: 4 kB / 1.289 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.9498, allocations: 4 kB / 1.289 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.9498, allocations: 3.984 kB / 1.289 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.9517, allocations: 1.199 MB / 1.29 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9517, allocations: 0 / 1.29 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.952, allocations: 63.89 kB / 1.29 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.952, allocations: 4 kB / 1.29 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.952, allocations: 12 kB / 1.29 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.952, allocations: 7.984 kB / 1.29 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.952, allocations: 3.938 kB / 1.29 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.9532, allocations: 0.7551 MB / 1.291 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.9533, allocations: 124.7 kB / 1.291 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.9534, allocations: 8 kB / 1.291 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.9536, allocations: 23.97 kB / 1.291 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.9537, allocations: 39.89 kB / 1.291 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.9538, allocations: 47.94 kB / 1.291 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000204/0.954, allocations: 203.1 kB / 1.292 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.954, allocations: 0 / 1.292 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004591/0.9544, allocations: 107.9 kB / 1.292 GB, free: 1.496 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.0002057/0.9546, allocations: 126.9 kB / 1.292 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.9563, allocations: 1.051 MB / 1.293 GB, free: 208 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9563, allocations: 0 / 1.293 GB, free: 208 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.957, allocations: 0.4928 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.0006151/0.9576, allocations: 97.36 kB / 1.293 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.959, allocations: 0.8194 MB / 1.294 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.9595, allocations: 0.7924 MB / 1.295 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002354/0.9598, allocations: 91.2 kB / 1.295 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.475e-05/0.9598, allocations: 39.42 kB / 1.295 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.9598, allocations: 4 kB / 1.295 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.01374/0.9736, allocations: 6.684 MB / 1.302 GB, free: 7.152 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 cvode -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.42740365024656]