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.001868/0.001868, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.002097/0.002097, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.609/1.609, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.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 3.176/3.176, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 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.002039/0.002039, allocations: 63.89 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002948/1.109, allocations: 1.349 MB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002251/1.111, allocations: 1.559 MB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/1.111, allocations: 3.844 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/1.111, allocations: 36.14 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/1.111, allocations: 76.23 kB / 1.275 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/1.113, allocations: 0.5042 MB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007323/1.113, allocations: 0.644 MB / 1.276 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/1.114, allocations: 121.1 kB / 1.276 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/1.114, allocations: 257 kB / 1.276 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/1.114, allocations: 243.2 kB / 1.277 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/1.114, allocations: 64.09 kB / 1.277 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/1.114, allocations: 79.42 kB / 1.277 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/1.115, allocations: 89.45 kB / 1.277 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/1.115, allocations: 240.2 kB / 1.277 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007314/1.116, allocations: 0.6928 MB / 1.278 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.116, allocations: 0.7188 kB / 1.278 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.116, allocations: 0 / 1.278 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.116, allocations: 0.7188 kB / 1.278 GB, free: 4.465 MB / 0.9981 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.001294/1.117, allocations: 0.944 MB / 1.279 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.117, allocations: 13.44 kB / 1.279 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/1.117, allocations: 54.31 kB / 1.279 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.118, allocations: 474.3 kB / 1.279 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/1.118, allocations: 28.52 kB / 1.279 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/1.118, allocations: 40.34 kB / 1.279 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/1.119, allocations: 322.5 kB / 1.28 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.119, allocations: 5.641 kB / 1.28 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/1.119, allocations: 12.14 kB / 1.28 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/1.119, allocations: 6.094 kB / 1.28 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006731/1.12, allocations: 255.7 kB / 1.28 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/1.122, allocations: 0.9054 MB / 1.281 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/1.122, allocations: 354.4 kB / 1.281 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/1.123, allocations: 262.4 kB / 1.281 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/1.123, allocations: 9.484 kB / 1.281 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/1.123, allocations: 325.4 kB / 1.282 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 1.773e-06/1.123, allocations: 1.531 kB / 1.282 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.001571/1.125, allocations: 0.8319 MB / 1.282 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/1.125, allocations: 193.2 kB / 1.283 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/1.125, allocations: 291.6 kB / 1.283 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/1.125, allocations: 38.92 kB / 1.283 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/1.125, allocations: 182.8 kB / 1.283 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/1.126, allocations: 135.1 kB / 1.283 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/1.126, allocations: 132.7 kB / 1.283 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/1.126, allocations: 350.5 kB / 1.284 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/1.126, allocations: 270.9 kB / 1.284 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/1.127, allocations: 361.2 kB / 1.284 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.128, allocations: 0.9072 MB / 1.285 GB, free: 15.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/1.128, allocations: 5.25 kB / 1.285 GB, free: 15.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001836/1.13, allocations: 1 MB / 1.286 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/1.13, allocations: 259 kB / 1.286 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.13, allocations: 3.125 kB / 1.286 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/1.13, allocations: 5.281 kB / 1.286 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/1.13, allocations: 67.69 kB / 1.286 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.13, allocations: 6.031 kB / 1.287 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007517/1.131, allocations: 148 kB / 1.287 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.131, allocations: 73.45 kB / 1.287 GB, free: 15.05 MB / 1.014 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.0004171/1.132, allocations: 319.2 kB / 1.287 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/1.132, allocations: 39.83 kB / 1.287 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/1.132, allocations: 37.45 kB / 1.287 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.132, allocations: 5.578 kB / 1.287 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.132, allocations: 0 / 1.287 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/1.132, allocations: 1.922 kB / 1.287 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/1.134, allocations: 1.195 MB / 1.288 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.134, allocations: 0 / 1.288 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/1.134, allocations: 74.75 kB / 1.288 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.134, allocations: 1.375 kB / 1.288 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/1.134, allocations: 12.47 kB / 1.288 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.134, allocations: 3 kB / 1.288 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.134, allocations: 3.938 kB / 1.288 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.136, allocations: 0.7644 MB / 1.289 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/1.136, allocations: 116.1 kB / 1.289 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/1.136, allocations: 9.391 kB / 1.289 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/1.136, allocations: 35.84 kB / 1.289 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.136, allocations: 38.81 kB / 1.289 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.136, allocations: 50.31 kB / 1.289 GB, free: 13.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002682/1.136, allocations: 198.4 kB / 1.29 GB, free: 13.27 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/1.136, allocations: 0 / 1.29 GB, free: 13.27 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005645/1.137, allocations: 107 kB / 1.29 GB, free: 13.25 MB / 1.014 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.0002782/1.137, allocations: 130.3 kB / 1.29 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.139, allocations: 1.046 MB / 1.291 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.139, allocations: 0 / 1.291 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007236/1.14, allocations: 0.4892 MB / 1.291 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/1.14, allocations: 83.72 kB / 1.291 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/1.142, allocations: 0.8207 MB / 1.292 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/1.143, allocations: 0.7968 MB / 1.293 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002427/1.143, allocations: 89.55 kB / 1.293 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/1.143, allocations: 37.44 kB / 1.293 GB, free: 10.89 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.143, allocations: 0 / 1.293 GB, free: 10.89 MB / 1.014 GB Notification: Performance of Templates: time 0.0158/1.159, allocations: 6.709 MB / 1.3 GB, free: 10.39 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.163090472109616]