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.002423/0.002423, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002875/0.002875, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.902/2.902, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.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 2.264e-06/2.264e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.429e-05/3.656e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003233/0.003269, allocations: 1.282 MB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003948/0.007217, allocations: 1.585 MB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.007444, allocations: 7.938 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.007633, allocations: 28.77 kB / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.00782, allocations: 79.88 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.00905, allocations: 496.5 kB / 0.7898 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008373/0.009887, allocations: 0.6565 MB / 0.7904 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.01018, allocations: 115 kB / 0.7905 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006241/0.0108, allocations: 363.4 kB / 0.7909 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.01113, allocations: 199.4 kB / 0.7911 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.01126, allocations: 68 kB / 0.7911 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.01142, allocations: 81.56 kB / 0.7912 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.01153, allocations: 79.69 kB / 0.7913 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.0118, allocations: 191.6 kB / 0.7915 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009392/0.01273, allocations: 0.7634 MB / 0.7922 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.01274, allocations: 0 / 0.7922 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.324e-06/0.01274, allocations: 3.531 kB / 0.7922 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.01275, allocations: 0 / 0.7922 GB, free: 6.848 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.001508/0.01426, allocations: 0.9746 MB / 0.7932 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.0143, allocations: 8.031 kB / 0.7932 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.01447, allocations: 76.66 kB / 0.7932 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.01565, allocations: 384.8 kB / 0.7936 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.0157, allocations: 28.88 kB / 0.7936 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.01578, allocations: 37.56 kB / 0.7937 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/0.01648, allocations: 417 kB / 0.7941 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.01649, allocations: 0.7188 kB / 0.7941 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.01652, allocations: 13.59 kB / 0.7941 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01653, allocations: 8.125 kB / 0.7941 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.01712, allocations: 335.4 kB / 0.7944 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.01876, allocations: 0.8203 MB / 0.7952 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.01937, allocations: 373.3 kB / 0.7956 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.01984, allocations: 322.4 kB / 0.7959 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.01987, allocations: 4 kB / 0.7959 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006249/0.02049, allocations: 428 kB / 0.7963 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.0205, allocations: 0 / 0.7963 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.001612/0.02211, allocations: 0.9727 MB / 0.7972 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.02225, allocations: 195.9 kB / 0.7974 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.02283, allocations: 386.2 kB / 0.7978 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.861e-05/0.02291, allocations: 42.33 kB / 0.7978 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.02314, allocations: 228.2 kB / 0.798 GB, free: 376 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.0233, allocations: 146.9 kB / 0.7982 GB, free: 228 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.02358, allocations: 156.4 kB / 0.7983 GB, free: 64 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003545/0.02394, allocations: 0.5359 MB / 0.7989 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/0.02475, allocations: 0.5053 MB / 0.7994 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008816/0.02563, allocations: 0.6263 MB / 0.8 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.02685, allocations: 0.8477 MB / 0.8008 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.02685, allocations: 0.7188 kB / 0.8008 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002057/0.02891, allocations: 1.235 MB / 0.802 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/0.02918, allocations: 268.1 kB / 0.8023 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.02919, allocations: 0 / 0.8023 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.02922, allocations: 6.219 kB / 0.8023 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.0295, allocations: 55.91 kB / 0.8023 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/0.02952, allocations: 11.92 kB / 0.8023 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/0.03022, allocations: 117.8 kB / 0.8024 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.03038, allocations: 63.92 kB / 0.8025 GB, free: 11.34 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.0004694/0.03085, allocations: 350 kB / 0.8028 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.03098, allocations: 51.77 kB / 0.8029 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.03112, allocations: 52.36 kB / 0.8029 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.03112, allocations: 4 kB / 0.8029 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.03113, allocations: 1.406 kB / 0.8029 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.03114, allocations: 7.984 kB / 0.8029 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.03338, allocations: 1.2 MB / 0.8041 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.03339, allocations: 0 / 0.8041 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.0336, allocations: 52.56 kB / 0.8042 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.03361, allocations: 5.219 kB / 0.8042 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.03365, allocations: 12 kB / 0.8042 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.03366, allocations: 4 kB / 0.8042 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.03366, allocations: 3.984 kB / 0.8042 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.03518, allocations: 0.8782 MB / 0.8051 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.03525, allocations: 35.69 kB / 0.8051 GB, free: 8.477 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.0353, allocations: 12 kB / 0.8051 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.03548, allocations: 19.98 kB / 0.8051 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.0356, allocations: 35.94 kB / 0.8051 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.081e-05/0.03569, allocations: 51.88 kB / 0.8052 GB, free: 8.359 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002983/0.03599, allocations: 247 kB / 0.8054 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.03599, allocations: 0.9375 kB / 0.8054 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005848/0.03657, allocations: 111.9 kB / 0.8055 GB, free: 8.012 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.000261/0.03683, allocations: 128.1 kB / 0.8057 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.03882, allocations: 1.454 MB / 0.8071 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.03883, allocations: 3.938 kB / 0.8071 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007774/0.0396, allocations: 0.6025 MB / 0.8077 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.04026, allocations: 106.9 kB / 0.8078 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.04186, allocations: 0.8831 MB / 0.8086 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.04208, allocations: 184.3 kB / 0.8088 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.04231, allocations: 87.19 kB / 0.8089 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.0424, allocations: 36.48 kB / 0.8089 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of SimCode: time 1.352e-06/0.0424, allocations: 0 / 0.8089 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of Templates: time 0.01507/0.05747, allocations: 6.992 MB / 0.8158 GB, free: 13.31 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","/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: 8.30597576405853]