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.001451/0.001451, allocations: 112.9 kB / 18.94 MB, free: 2.93 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.001929/0.001929, allocations: 190.8 kB / 22.22 MB, free: 5.105 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.543/1.543, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.912/2.912, allocations: 476.7 MB / 0.7646 GB, free: 9.902 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002328/0.002328, allocations: 67.89 kB / 1.11 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8995, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003312/0.9028, allocations: 1.348 MB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.9053, allocations: 1.554 MB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.9054, allocations: 7.938 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.9056, allocations: 43.53 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.9057, allocations: 71.44 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.907, allocations: 0.5037 MB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007719/0.9078, allocations: 0.6482 MB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.9081, allocations: 121.3 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.9084, allocations: 259.3 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.9088, allocations: 243.2 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.9089, allocations: 68 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.9091, allocations: 79.88 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.9092, allocations: 79.75 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.9095, allocations: 254.9 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007849/0.9102, allocations: 0.6839 MB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9102, allocations: 0 / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9102, allocations: 4 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.9103, allocations: 0 / 1.28 GB, free: 14.26 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.001374/0.9116, allocations: 0.8672 MB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.9117, allocations: 12.03 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.9118, allocations: 60.64 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.9131, allocations: 397.5 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.9131, allocations: 24.88 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/0.9132, allocations: 44.36 kB / 1.282 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.9139, allocations: 324.5 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.9139, allocations: 3.938 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.9139, allocations: 19.94 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9139, allocations: 4 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.9146, allocations: 245.8 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.9162, allocations: 0.8836 MB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.9169, allocations: 354.4 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.9174, allocations: 251.1 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.9174, allocations: 4 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000593/0.918, allocations: 323 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.334e-06/0.918, allocations: 0 / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001622/0.9196, allocations: 0.8423 MB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.9198, allocations: 191.9 kB / 1.285 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.9201, allocations: 288.5 kB / 1.285 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.9202, allocations: 45.7 kB / 1.285 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.9203, allocations: 172.9 kB / 1.285 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.9205, allocations: 138.8 kB / 1.285 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.9207, allocations: 130.1 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.9209, allocations: 350.7 kB / 1.286 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006085/0.9215, allocations: 276.8 kB / 1.286 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.9222, allocations: 361.4 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.9234, allocations: 0.909 MB / 1.287 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.9234, allocations: 3.938 kB / 1.287 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001733/0.9252, allocations: 1.002 MB / 1.288 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.9254, allocations: 259.3 kB / 1.289 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9254, allocations: 0 / 1.289 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.9254, allocations: 8 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.9257, allocations: 64.17 kB / 1.289 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.9257, allocations: 19.92 kB / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.9264, allocations: 135.6 kB / 1.289 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.9265, allocations: 75.91 kB / 1.289 GB, free: 4.703 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.0003274/0.9268, allocations: 310.2 kB / 1.289 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.9269, allocations: 43.7 kB / 1.289 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.06e-05/0.927, allocations: 43.48 kB / 1.289 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.927, allocations: 4 kB / 1.289 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.927, allocations: 4 kB / 1.289 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.927, allocations: 3.984 kB / 1.289 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.9289, allocations: 1.17 MB / 1.29 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9289, allocations: 0 / 1.29 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.9291, allocations: 59.89 kB / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.9291, allocations: 4 kB / 1.291 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.9292, allocations: 15.98 kB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.9292, allocations: 4 kB / 1.291 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.9292, allocations: 7.875 kB / 1.291 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.9304, allocations: 0.7628 MB / 1.291 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.9304, allocations: 35.7 kB / 1.291 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.9305, allocations: 8 kB / 1.291 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.9307, allocations: 31.97 kB / 1.291 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.9308, allocations: 43.88 kB / 1.291 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.9309, allocations: 51.88 kB / 1.291 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002025/0.9311, allocations: 199.1 kB / 1.292 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9311, allocations: 0 / 1.292 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004463/0.9315, allocations: 111.9 kB / 1.292 GB, free: 1.633 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.0002019/0.9317, allocations: 119.1 kB / 1.292 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.9333, allocations: 1.034 MB / 1.293 GB, free: 372 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9333, allocations: 0 / 1.293 GB, free: 372 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.934, allocations: 0.4973 MB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.9345, allocations: 92.47 kB / 1.293 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.936, allocations: 0.8091 MB / 1.294 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.9364, allocations: 0.7923 MB / 1.295 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000249/0.9367, allocations: 99.17 kB / 1.295 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.9368, allocations: 35.44 kB / 1.295 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.9368, allocations: 0 / 1.295 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.01341/0.9502, allocations: 6.807 MB / 1.302 GB, free: 7.199 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 -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: 9.83093240018934]