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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7634 GB, free: 15.2 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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=511,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=511,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.002018/0.002018, allocations: 63.91 kB / 1.108 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8864/0.8884, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002555/0.891, allocations: 1.348 MB / 1.274 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.893, allocations: 1.556 MB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.8932, allocations: 7.812 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.8933, allocations: 34.69 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.8935, allocations: 74.92 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.8946, allocations: 0.5029 MB / 1.276 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006721/0.8953, allocations: 0.6449 MB / 1.276 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.8956, allocations: 133.8 kB / 1.277 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.8959, allocations: 260.1 kB / 1.277 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.8962, allocations: 243.5 kB / 1.277 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.8963, allocations: 64.5 kB / 1.277 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.8965, allocations: 83.39 kB / 1.277 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.8965, allocations: 86.14 kB / 1.277 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.8968, allocations: 239.4 kB / 1.278 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.8975, allocations: 0.6914 MB / 1.278 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8975, allocations: 0 / 1.278 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8975, allocations: 0 / 1.278 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.8975, allocations: 4.906 kB / 1.278 GB, free: 4.5 MB / 0.9981 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.001193/0.8987, allocations: 0.9417 MB / 1.279 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.8987, allocations: 9.062 kB / 1.279 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.8989, allocations: 54.28 kB / 1.279 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.9001, allocations: 474.5 kB / 1.28 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.9002, allocations: 28.62 kB / 1.28 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/0.9002, allocations: 39.95 kB / 1.28 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.9009, allocations: 328.2 kB / 1.28 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.9009, allocations: 3.938 kB / 1.28 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.901, allocations: 12.59 kB / 1.28 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.901, allocations: 5.719 kB / 1.28 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.9017, allocations: 255.8 kB / 1.28 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.9034, allocations: 0.9094 MB / 1.281 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.9041, allocations: 351.8 kB / 1.282 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.9046, allocations: 262.1 kB / 1.282 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.9046, allocations: 3.344 kB / 1.282 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.9052, allocations: 327 kB / 1.282 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.9052, allocations: 0 / 1.282 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.001519/0.9067, allocations: 0.8333 MB / 1.283 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.9067, allocations: 192.2 kB / 1.283 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.907, allocations: 291.7 kB / 1.283 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.087e-05/0.9071, allocations: 40.14 kB / 1.283 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.9072, allocations: 173.8 kB / 1.284 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.823e-05/0.9073, allocations: 132.6 kB / 1.284 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.9075, allocations: 136.9 kB / 1.284 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.9076, allocations: 350.3 kB / 1.284 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.9081, allocations: 281.1 kB / 1.284 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.9087, allocations: 362.4 kB / 1.285 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.9097, allocations: 0.9066 MB / 1.286 GB, free: 15.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.9097, allocations: 4.844 kB / 1.286 GB, free: 15.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001746/0.9115, allocations: 0.9962 MB / 1.287 GB, free: 15.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.9116, allocations: 259.6 kB / 1.287 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.9116, allocations: 3.875 kB / 1.287 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.9117, allocations: 8.719 kB / 1.287 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.9119, allocations: 67.22 kB / 1.287 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.912, allocations: 4.953 kB / 1.287 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.9127, allocations: 149.9 kB / 1.287 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.9128, allocations: 69.64 kB / 1.287 GB, free: 15.09 MB / 1.014 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.0003255/0.9132, allocations: 314.3 kB / 1.287 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.9132, allocations: 39.75 kB / 1.287 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.9133, allocations: 41.58 kB / 1.288 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9133, allocations: 9.672 kB / 1.288 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9133, allocations: 0 / 1.288 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.9133, allocations: 5.469 kB / 1.288 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.9152, allocations: 1.196 MB / 1.289 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.9152, allocations: 0 / 1.289 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.9155, allocations: 63.17 kB / 1.289 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.9155, allocations: 9.531 kB / 1.289 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.9155, allocations: 12.77 kB / 1.289 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.9155, allocations: 1.594 kB / 1.289 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9155, allocations: 7.938 kB / 1.289 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.9167, allocations: 0.7572 MB / 1.29 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.9168, allocations: 116.7 kB / 1.29 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.9168, allocations: 12.81 kB / 1.29 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.917, allocations: 30 kB / 1.29 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.9171, allocations: 39.62 kB / 1.29 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.9172, allocations: 51.12 kB / 1.29 GB, free: 13.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000214/0.9174, allocations: 199.1 kB / 1.29 GB, free: 13.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9174, allocations: 0 / 1.29 GB, free: 13.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005152/0.9179, allocations: 108.1 kB / 1.29 GB, free: 13.29 MB / 1.014 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.0001827/0.9181, allocations: 130.6 kB / 1.29 GB, free: 13.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.9197, allocations: 1.045 MB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9197, allocations: 2.688 kB / 1.291 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.9203, allocations: 0.4918 MB / 1.292 GB, free: 12.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.9209, allocations: 86.73 kB / 1.292 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.9222, allocations: 0.8374 MB / 1.293 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.9227, allocations: 0.7976 MB / 1.293 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.9228, allocations: 36.33 kB / 1.293 GB, free: 10.91 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/0.9228, allocations: 0 / 1.293 GB, free: 10.91 MB / 1.014 GB Notification: Performance of Templates: time 0.01127/0.9341, allocations: 5.647 MB / 1.299 GB, free: 10.31 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/jenkins1/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