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.001477/0.001477, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001851/0.001851, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.686/1.686, allocations: 230.6 MB / 256 MB, free: 7.789 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 3.043/3.043, allocations: 475.9 MB / 0.7699 GB, free: 4.758 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.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: 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.00214/0.00214, allocations: 67.27 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003469/0.3792, allocations: 1.257 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00307/0.3823, allocations: 1.572 MB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.3825, allocations: 7.938 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.3828, allocations: 27.61 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.3831, allocations: 75.38 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3846, allocations: 0.5008 MB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009957/0.3856, allocations: 0.6443 MB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.386, allocations: 113.3 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.3865, allocations: 255.4 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.3868, allocations: 215.2 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.387, allocations: 64 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.3871, allocations: 79.98 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3873, allocations: 87.64 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.3875, allocations: 211.2 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008335/0.3884, allocations: 0.6967 MB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3884, allocations: 0 / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3884, allocations: 0 / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3884, allocations: 0 / 1.289 GB, free: 6.18 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.001471/0.3898, allocations: 0.8771 MB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3899, allocations: 8.031 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.39, allocations: 56.7 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.3914, allocations: 401.5 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.3914, allocations: 28.86 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.3915, allocations: 44.38 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.3923, allocations: 457 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3923, allocations: 3.938 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.3924, allocations: 12 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3924, allocations: 8 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.3931, allocations: 386.3 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.3948, allocations: 0.74 MB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/0.3956, allocations: 482.6 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.3962, allocations: 390.5 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3962, allocations: 11.8 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007122/0.3969, allocations: 459.5 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.3969, allocations: 0 / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001882/0.3988, allocations: 1.104 MB / 1.294 GB, free: 356 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.399, allocations: 195.9 kB / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.3993, allocations: 276.5 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/0.3994, allocations: 41.7 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3996, allocations: 172.8 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3997, allocations: 134.9 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.3999, allocations: 138.1 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4001, allocations: 350.8 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/0.4009, allocations: 0.5235 MB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.4018, allocations: 0.6062 MB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.4031, allocations: 0.9168 MB / 1.297 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4031, allocations: 0 / 1.297 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001943/0.4051, allocations: 1.271 MB / 1.298 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.4053, allocations: 255.3 kB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4053, allocations: 0 / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.4053, allocations: 7.984 kB / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.4056, allocations: 63.91 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.4056, allocations: 7.984 kB / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.4064, allocations: 147.6 kB / 1.299 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.4065, allocations: 71.84 kB / 1.299 GB, free: 10.7 MB / 0.9981 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.000361/0.4069, allocations: 315.8 kB / 1.299 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.4069, allocations: 47.7 kB / 1.299 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/0.407, allocations: 39.42 kB / 1.299 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.407, allocations: 4 kB / 1.299 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4071, allocations: 3.938 kB / 1.299 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.4071, allocations: 7.984 kB / 1.299 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.409, allocations: 1.206 MB / 1.301 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.409, allocations: 0 / 1.301 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4093, allocations: 67.89 kB / 1.301 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4093, allocations: 0 / 1.301 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.4093, allocations: 15.98 kB / 1.301 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4093, allocations: 3.938 kB / 1.301 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4093, allocations: 8 kB / 1.301 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.4107, allocations: 0.9052 MB / 1.302 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.4107, allocations: 35.69 kB / 1.302 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.4108, allocations: 12 kB / 1.302 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.411, allocations: 31.97 kB / 1.302 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4111, allocations: 35.94 kB / 1.302 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.093e-05/0.4112, allocations: 47.94 kB / 1.302 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000226/0.4114, allocations: 191 kB / 1.302 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4114, allocations: 0 / 1.302 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004923/0.4119, allocations: 111.9 kB / 1.302 GB, free: 7.41 MB / 0.9981 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.000223/0.4121, allocations: 119.1 kB / 1.302 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002/0.4141, allocations: 1.433 MB / 1.303 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4141, allocations: 4 kB / 1.303 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.4149, allocations: 0.6151 MB / 1.304 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.4155, allocations: 88.52 kB / 1.304 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.4171, allocations: 0.9474 MB / 1.305 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.4173, allocations: 192.3 kB / 1.305 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002345/0.4175, allocations: 91.14 kB / 1.305 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.4176, allocations: 39.42 kB / 1.305 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/0.4176, allocations: 0 / 1.305 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.01555/0.4332, allocations: 7.34 MB / 1.313 GB, free: 12.32 MB / 1.014 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.940417038276792]