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.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.001176/0.001176, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.0009921/0.0009921, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9901/0.9901, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.745/1.745, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.[0-9,]+.|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.[0-9,]+.|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 3.396e-06/3.396e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.322e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002994/0.003027, allocations: 1.295 MB / 0.7884 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.005458, allocations: 1.605 MB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.005655, allocations: 7.938 kB / 0.79 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.00583, allocations: 36.45 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.006043, allocations: 84.31 kB / 0.7901 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.007288, allocations: 491.7 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009314/0.00822, allocations: 0.6453 MB / 0.7912 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.008565, allocations: 117.9 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007569/0.009322, allocations: 396.5 kB / 0.7917 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.009729, allocations: 173.1 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.009848, allocations: 52 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.01001, allocations: 65.48 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.01012, allocations: 71.69 kB / 0.792 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.01036, allocations: 167.6 kB / 0.7922 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006536/0.01101, allocations: 430.6 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.01102, allocations: 3.125 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01102, allocations: 0 / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.01103, allocations: 3.938 kB / 0.7926 GB, free: 6.871 MB / 0.7448 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.001506/0.01254, allocations: 0.9398 MB / 0.7935 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.01259, allocations: 8.031 kB / 0.7935 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.0128, allocations: 80.64 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.01328, allocations: 303.7 kB / 0.7939 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.01332, allocations: 29.53 kB / 0.7939 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.0134, allocations: 48.34 kB / 0.7939 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.01404, allocations: 395.9 kB / 0.7943 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.01405, allocations: 192 / 0.7943 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.01409, allocations: 8.375 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.0141, allocations: 8.375 kB / 0.7943 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.01447, allocations: 272 kB / 0.7946 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.01606, allocations: 0.7769 MB / 0.7954 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.01654, allocations: 337.5 kB / 0.7957 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.01686, allocations: 288.2 kB / 0.796 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.01687, allocations: 4 kB / 0.796 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.01731, allocations: 370.9 kB / 0.7963 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.01732, allocations: 6 kB / 0.7963 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.001198/0.01851, allocations: 0.8736 MB / 0.7972 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.01861, allocations: 191.9 kB / 0.7974 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.0189, allocations: 318.3 kB / 0.7977 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.01897, allocations: 45.7 kB / 0.7977 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.01914, allocations: 208.3 kB / 0.7979 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.01925, allocations: 145.4 kB / 0.798 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.01946, allocations: 143.7 kB / 0.7982 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.01962, allocations: 0.5157 MB / 0.7987 GB, free: 104 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.01998, allocations: 436.2 kB / 0.7991 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.02037, allocations: 0.5443 MB / 0.7996 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.02089, allocations: 0.7607 MB / 0.8004 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.0209, allocations: 5.656 kB / 0.8004 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008664/0.02176, allocations: 1.094 MB / 0.8014 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.02188, allocations: 271.3 kB / 0.8017 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.02189, allocations: 3.938 kB / 0.8017 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.02191, allocations: 8 kB / 0.8017 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.0221, allocations: 64.97 kB / 0.8018 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.02211, allocations: 4 kB / 0.8018 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.0224, allocations: 109.8 kB / 0.8019 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.02249, allocations: 63.92 kB / 0.8019 GB, free: 12.31 MB / 0.7605 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.000203/0.02269, allocations: 341.5 kB / 0.8023 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.02275, allocations: 59.77 kB / 0.8023 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.0228, allocations: 43.36 kB / 0.8024 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.02281, allocations: 4 kB / 0.8024 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.02282, allocations: 0 / 0.8024 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.02282, allocations: 3.984 kB / 0.8024 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009492/0.02377, allocations: 1.086 MB / 0.8034 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.02378, allocations: 0 / 0.8034 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.0239, allocations: 60.94 kB / 0.8035 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.02391, allocations: 4 kB / 0.8035 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.02393, allocations: 11.98 kB / 0.8035 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.02393, allocations: 1.125 kB / 0.8035 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.02394, allocations: 7.984 kB / 0.8035 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.02446, allocations: 0.8052 MB / 0.8043 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.02449, allocations: 35.7 kB / 0.8043 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.02453, allocations: 12 kB / 0.8044 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.02462, allocations: 25.2 kB / 0.8044 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.0247, allocations: 39.88 kB / 0.8044 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.02475, allocations: 47.94 kB / 0.8045 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001185/0.02487, allocations: 216.7 kB / 0.8047 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02487, allocations: 0 / 0.8047 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003238/0.02519, allocations: 111.9 kB / 0.8048 GB, free: 9.199 MB / 0.7605 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.0001839/0.02538, allocations: 124.4 kB / 0.8049 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008175/0.02619, allocations: 1.287 MB / 0.8061 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.0262, allocations: 0.6562 kB / 0.8062 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.02649, allocations: 0.5634 MB / 0.8067 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.02685, allocations: 97.3 kB / 0.8068 GB, free: 6.824 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02787, allocations: 0.8557 MB / 0.8076 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.288e-05/0.02796, allocations: 101.1 kB / 0.8077 GB, free: 5.789 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.02813, allocations: 83.2 kB / 0.8078 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.02819, allocations: 36.5 kB / 0.8078 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of SimCode: time 1.233e-06/0.02819, allocations: 0 / 0.8078 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of Templates: time 0.01013/0.03832, allocations: 7.473 MB / 0.8151 GB, free: 14.34 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.202555780299008]