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.001615/0.001615, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001789/0.001789, allocations: 216 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.38/3.38, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.77 kB / 1.187 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 181.9 MB / 1.365 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002627/0.3405, allocations: 1.253 MB / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002217/0.3428, allocations: 1.573 MB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.3428, allocations: 4 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.343, allocations: 35.55 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3431, allocations: 83.36 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.3443, allocations: 495.9 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007356/0.345, allocations: 0.6521 MB / 1.369 GB, free: 9.645 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.3453, allocations: 113.3 kB / 1.369 GB, free: 9.535 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.3455, allocations: 251.4 kB / 1.369 GB, free: 9.289 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.3458, allocations: 219.1 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.346, allocations: 64 kB / 1.369 GB, free: 9.012 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3461, allocations: 83.98 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.3462, allocations: 83.64 kB / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.3464, allocations: 215.2 kB / 1.37 GB, free: 8.637 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007166/0.3472, allocations: 0.689 MB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3472, allocations: 0 / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3472, allocations: 4 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.3472, allocations: 0 / 1.37 GB, free: 7.941 MB / 1.061 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.001315/0.3485, allocations: 0.8672 MB / 1.371 GB, free: 6.984 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.3485, allocations: 12.03 kB / 1.371 GB, free: 6.973 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.3486, allocations: 56.59 kB / 1.371 GB, free: 6.918 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3499, allocations: 405.5 kB / 1.372 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.35, allocations: 28.88 kB / 1.372 GB, free: 6.473 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.595e-05/0.3501, allocations: 44.36 kB / 1.372 GB, free: 6.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.3508, allocations: 457 kB / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3508, allocations: 3.938 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.3509, allocations: 12 kB / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3509, allocations: 4 kB / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.3516, allocations: 394.2 kB / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.3532, allocations: 0.7361 MB / 1.373 GB, free: 4.742 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.354, allocations: 479.8 kB / 1.374 GB, free: 4.234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/0.3545, allocations: 394.1 kB / 1.374 GB, free: 3.816 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3546, allocations: 11.94 kB / 1.374 GB, free: 3.805 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000685/0.3553, allocations: 452.3 kB / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 1.993e-06/0.3553, allocations: 0 / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001814/0.3571, allocations: 1.104 MB / 1.376 GB, free: 2.117 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.3572, allocations: 191.9 kB / 1.376 GB, free: 1.887 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.3575, allocations: 280.5 kB / 1.376 GB, free: 1.598 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.3576, allocations: 45.7 kB / 1.376 GB, free: 1.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.3577, allocations: 168.8 kB / 1.376 GB, free: 1.379 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.3578, allocations: 142.9 kB / 1.376 GB, free: 1.238 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.3581, allocations: 134.1 kB / 1.376 GB, free: 1.102 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3583, allocations: 346.8 kB / 1.377 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/0.359, allocations: 0.5235 MB / 1.377 GB, free: 180 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008677/0.3599, allocations: 0.6101 MB / 1.378 GB, free: 15.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.3612, allocations: 0.9168 MB / 1.379 GB, free: 14.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3612, allocations: 0 / 1.379 GB, free: 14.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001915/0.3631, allocations: 1.271 MB / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.3633, allocations: 255.3 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3633, allocations: 4 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3633, allocations: 4 kB / 1.38 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.3636, allocations: 71.83 kB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3636, allocations: 4 kB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.3644, allocations: 151.5 kB / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.3645, allocations: 67.92 kB / 1.381 GB, free: 12.45 MB / 1.076 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.0003132/0.3648, allocations: 321.9 kB / 1.381 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.3649, allocations: 39.73 kB / 1.381 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.365, allocations: 35.44 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.365, allocations: 4 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.365, allocations: 3.984 kB / 1.381 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.365, allocations: 4 kB / 1.381 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.3669, allocations: 1.215 MB / 1.382 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3669, allocations: 0 / 1.382 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.3672, allocations: 67.89 kB / 1.382 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3672, allocations: 0 / 1.382 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.3672, allocations: 23.92 kB / 1.382 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3672, allocations: 0 / 1.382 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3672, allocations: 3.984 kB / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3685, allocations: 0.8999 MB / 1.383 GB, free: 9.625 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.3686, allocations: 35.7 kB / 1.383 GB, free: 9.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.3686, allocations: 12 kB / 1.383 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.3689, allocations: 27.97 kB / 1.383 GB, free: 9.551 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/0.3689, allocations: 39.94 kB / 1.383 GB, free: 9.512 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-05/0.369, allocations: 47.94 kB / 1.383 GB, free: 9.465 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001923/0.3692, allocations: 195 kB / 1.383 GB, free: 9.273 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3692, allocations: 0 / 1.383 GB, free: 9.273 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004394/0.3697, allocations: 111.9 kB / 1.384 GB, free: 9.164 MB / 1.076 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.0001887/0.3698, allocations: 123.2 kB / 1.384 GB, free: 9.035 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.3717, allocations: 1.436 MB / 1.385 GB, free: 7.402 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3717, allocations: 0.5625 kB / 1.385 GB, free: 7.402 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007495/0.3724, allocations: 0.6266 MB / 1.386 GB, free: 6.684 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.373, allocations: 86.27 kB / 1.386 GB, free: 6.602 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3744, allocations: 0.9721 MB / 1.387 GB, free: 5.566 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.3746, allocations: 180.3 kB / 1.387 GB, free: 5.367 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.3747, allocations: 43.42 kB / 1.387 GB, free: 5.324 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3747, allocations: 0 / 1.387 GB, free: 5.324 MB / 1.076 GB Notification: Performance of Templates: time 0.00922/0.3839, allocations: 5.701 MB / 1.393 GB, free: 15.66 MB / 1.092 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/jenkins1/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: 11.896683618891984]