Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008748/0.008748, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004043, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8934/0.8938, allocations: 142.4 MB / 0.955 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001365/0.8952, allocations: 0.7562 MB / 0.9558 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.8971, allocations: 1.33 MB / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.226e-05/0.8972, allocations: 5.312 kB / 0.9571 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.8973, allocations: 17.02 kB / 0.9571 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.8974, allocations: 27.31 kB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/0.8982, allocations: 252.9 kB / 0.9574 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.8985, allocations: 308.3 kB / 0.9577 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.8987, allocations: 70.67 kB / 0.9577 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.8989, allocations: 108.5 kB / 0.9578 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.899, allocations: 94.64 kB / 0.9579 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.8991, allocations: 11.25 kB / 0.9579 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.8992, allocations: 27.17 kB / 0.958 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.8992, allocations: 28.88 kB / 0.958 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.8994, allocations: 131.3 kB / 0.9581 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.8997, allocations: 336.3 kB / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8997, allocations: 1.344 kB / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8997, allocations: 0 / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8997, allocations: 0 / 0.9584 GB, free: 5.152 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008534/0.9006, allocations: 0.6002 MB / 0.959 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.9007, allocations: 9.625 kB / 0.959 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.9008, allocations: 31.78 kB / 0.9591 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.901, allocations: 264.2 kB / 0.9593 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.9011, allocations: 14.23 kB / 0.9593 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.9011, allocations: 19.5 kB / 0.9594 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.9017, allocations: 207.7 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9017, allocations: 1.312 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.9017, allocations: 5.25 kB / 0.9596 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.9017, allocations: 2.812 kB / 0.9596 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.9023, allocations: 194.7 kB / 0.9597 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.9034, allocations: 0.6486 MB / 0.9604 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.9039, allocations: 216.9 kB / 0.9606 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.9042, allocations: 154.1 kB / 0.9607 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.9043, allocations: 5.375 kB / 0.9607 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/0.9048, allocations: 215.2 kB / 0.9609 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.635e-06/0.9048, allocations: 3.938 kB / 0.9609 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001244/0.906, allocations: 0.5093 MB / 0.9614 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.9061, allocations: 107 kB / 0.9615 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.9063, allocations: 211.3 kB / 0.9617 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.9063, allocations: 34.36 kB / 0.9618 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.9064, allocations: 132.5 kB / 0.9619 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.9065, allocations: 58.5 kB / 0.962 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.9065, allocations: 28.52 kB / 0.962 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.9066, allocations: 327.8 kB / 0.9623 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.9071, allocations: 180.2 kB / 0.9625 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.9075, allocations: 220.2 kB / 0.9627 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/0.9083, allocations: 497.7 kB / 0.9632 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9083, allocations: 0 / 0.9632 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001114/0.9095, allocations: 0.5566 MB / 0.9637 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.9095, allocations: 129.7 kB / 0.9638 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.9095, allocations: 1.438 kB / 0.9638 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.9096, allocations: 2.406 kB / 0.9638 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.9098, allocations: 50.86 kB / 0.9639 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.9098, allocations: 1.969 kB / 0.9639 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.9103, allocations: 110.3 kB / 0.964 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/0.9104, allocations: 36.55 kB / 0.964 GB, free: 1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001478/0.9106, allocations: 199.8 kB / 0.9642 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.9106, allocations: 30.39 kB / 0.9642 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.9106, allocations: 21.72 kB / 0.9643 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.9107, allocations: 3.469 kB / 0.9643 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.9107, allocations: 0 / 0.9643 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9107, allocations: 4 kB / 0.9643 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.9117, allocations: 0.7132 MB / 0.965 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.9117, allocations: 4.969 kB / 0.965 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.9119, allocations: 41.5 kB / 0.965 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9119, allocations: 1.781 kB / 0.965 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.9119, allocations: 6.328 kB / 0.965 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9119, allocations: 1.281 kB / 0.965 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9119, allocations: 0 / 0.965 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008986/0.9128, allocations: 0.4897 MB / 0.9655 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.9129, allocations: 101.9 kB / 0.9656 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.913, allocations: 2.125 kB / 0.9656 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.9132, allocations: 39.5 kB / 0.9656 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.9133, allocations: 23.19 kB / 0.9657 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.9133, allocations: 21.38 kB / 0.9657 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001575/0.9135, allocations: 148.6 kB / 0.9658 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9135, allocations: 0 / 0.9658 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003603/0.9139, allocations: 56.91 kB / 0.9659 GB, free: 15.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.0001987/0.9141, allocations: 118 kB / 0.966 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.9152, allocations: 0.5955 MB / 0.9666 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9152, allocations: 0 / 0.9666 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.9156, allocations: 265.2 kB / 0.9668 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.9161, allocations: 44.56 kB / 0.9669 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008468/0.917, allocations: 493.3 kB / 0.9673 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.9173, allocations: 0.731 MB / 0.968 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.9174, allocations: 42.84 kB / 0.9681 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.9175, allocations: 16.56 kB / 0.9681 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/0.9175, allocations: 0 / 0.9681 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of Templates: time 0.007548/0.925, allocations: 3.39 MB / 0.9714 GB, free: 12.1 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches