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.002047/0.002047, allocations: 75.75 kB / 19.76 MB, free: 2.02 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.002113/0.002113, allocations: 155.2 kB / 23 MB, free: 4.957 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.541/1.541, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.886/2.886, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.002069/0.002069, allocations: 67.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.11, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002552/1.113, allocations: 1.251 MB / 1.188 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002519/1.115, allocations: 1.571 MB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/1.116, allocations: 6.656 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/1.116, allocations: 33.91 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001837/1.116, allocations: 71.33 kB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/1.117, allocations: 0.4953 MB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008132/1.118, allocations: 0.655 MB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/1.118, allocations: 109.6 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/1.119, allocations: 257.9 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/1.119, allocations: 216 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/1.119, allocations: 64.78 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/1.119, allocations: 72.81 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/1.119, allocations: 88.5 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/1.12, allocations: 215 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008925/1.121, allocations: 0.6942 MB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.121, allocations: 4.703 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.174e-06/1.121, allocations: 0 / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.596e-05/1.121, allocations: 0 / 1.192 GB, free: 12.87 MB / 1.076 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.001297/1.122, allocations: 0.8684 MB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.122, allocations: 8.969 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/1.122, allocations: 54.36 kB / 1.193 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/1.123, allocations: 403.8 kB / 1.194 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/1.124, allocations: 28.33 kB / 1.194 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/1.124, allocations: 41.03 kB / 1.194 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/1.124, allocations: 461.8 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.124, allocations: 3.938 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/1.124, allocations: 8.781 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/1.124, allocations: 6.375 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000766/1.125, allocations: 386.9 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/1.127, allocations: 0.7339 MB / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/1.128, allocations: 487.3 kB / 1.196 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/1.128, allocations: 391.6 kB / 1.196 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/1.128, allocations: 7.75 kB / 1.196 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008937/1.129, allocations: 459.3 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=44): time 3.266e-06/1.129, allocations: 1.188 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=44): time 0.002373/1.131, allocations: 1.105 MB / 1.198 GB, free: 9.484 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.132, allocations: 190.5 kB / 1.198 GB, free: 9.266 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/1.132, allocations: 283.5 kB / 1.198 GB, free: 9.098 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/1.132, allocations: 43.19 kB / 1.198 GB, free: 9.059 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/1.132, allocations: 170.5 kB / 1.198 GB, free: 8.914 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.132, allocations: 136.2 kB / 1.198 GB, free: 8.809 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/1.133, allocations: 137.3 kB / 1.198 GB, free: 8.754 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.133, allocations: 343.9 kB / 1.199 GB, free: 8.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/1.134, allocations: 0.5294 MB / 1.199 GB, free: 8.055 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.135, allocations: 0.6107 MB / 1.2 GB, free: 7.586 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/1.137, allocations: 0.9226 MB / 1.201 GB, free: 6.891 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.137, allocations: 1.062 kB / 1.201 GB, free: 6.891 MB / 1.076 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002615/1.139, allocations: 1.264 MB / 1.202 GB, free: 6.051 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/1.139, allocations: 257.5 kB / 1.202 GB, free: 5.766 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.139, allocations: 2.812 kB / 1.202 GB, free: 5.766 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/1.139, allocations: 5.391 kB / 1.202 GB, free: 5.766 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/1.14, allocations: 70.34 kB / 1.202 GB, free: 5.754 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/1.14, allocations: 9.578 kB / 1.202 GB, free: 5.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.141, allocations: 142.2 kB / 1.202 GB, free: 5.723 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/1.141, allocations: 65.27 kB / 1.203 GB, free: 5.719 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.0004719/1.142, allocations: 315.1 kB / 1.203 GB, free: 5.414 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.275e-05/1.142, allocations: 39.48 kB / 1.203 GB, free: 5.395 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/1.142, allocations: 45.81 kB / 1.203 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.142, allocations: 8.25 kB / 1.203 GB, free: 5.352 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/1.142, allocations: 0.7031 kB / 1.203 GB, free: 5.352 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.142, allocations: 3.188 kB / 1.203 GB, free: 5.352 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/1.144, allocations: 1.223 MB / 1.204 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.144, allocations: 0.7812 kB / 1.204 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/1.144, allocations: 63.69 kB / 1.204 GB, free: 4.562 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/1.144, allocations: 1.469 kB / 1.204 GB, free: 4.562 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/1.144, allocations: 15.45 kB / 1.204 GB, free: 4.555 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.144, allocations: 1.969 kB / 1.204 GB, free: 4.555 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.144, allocations: 1.469 kB / 1.204 GB, free: 4.555 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/1.145, allocations: 0.8962 MB / 1.205 GB, free: 3.961 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/1.146, allocations: 39.52 kB / 1.205 GB, free: 3.934 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/1.146, allocations: 13.39 kB / 1.205 GB, free: 3.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/1.146, allocations: 29.31 kB / 1.205 GB, free: 3.918 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.146, allocations: 41.66 kB / 1.205 GB, free: 3.906 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/1.146, allocations: 55.58 kB / 1.205 GB, free: 3.895 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001843/1.146, allocations: 191.2 kB / 1.205 GB, free: 3.781 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.146, allocations: 1.156 kB / 1.205 GB, free: 3.781 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004662/1.147, allocations: 110.8 kB / 1.206 GB, free: 3.762 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.0001619/1.147, allocations: 111.2 kB / 1.206 GB, free: 3.668 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001599/1.148, allocations: 1.435 MB / 1.207 GB, free: 2.488 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.148, allocations: 0 / 1.207 GB, free: 2.488 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006352/1.149, allocations: 0.6232 MB / 1.208 GB, free: 1.957 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/1.15, allocations: 94.16 kB / 1.208 GB, free: 1.918 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/1.151, allocations: 0.9385 MB / 1.209 GB, free: 1.367 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/1.151, allocations: 188.5 kB / 1.209 GB, free: 1.273 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002273/1.151, allocations: 91.8 kB / 1.209 GB, free: 1.266 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/1.152, allocations: 37.56 kB / 1.209 GB, free: 1.254 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.152, allocations: 4 kB / 1.209 GB, free: 1.25 MB / 1.076 GB Notification: Performance of Templates: time 0.01485/1.166, allocations: 7.032 MB / 1.216 GB, free: 436 kB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.714553266996518]