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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001015/0.001015, allocations: 91.38 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 177.8 kB / 16.92 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.9 MB / 0.667 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6628, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001106/0.664, allocations: 0.7609 MB / 0.9565 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.6655, allocations: 1.329 MB / 0.9578 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.6656, allocations: 6.438 kB / 0.9578 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.6657, allocations: 3.938 kB / 0.9578 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.579e-05/0.6658, allocations: 31.84 kB / 0.9578 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.6664, allocations: 253.5 kB / 0.958 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.6667, allocations: 303.1 kB / 0.9583 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.6669, allocations: 72.03 kB / 0.9584 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.6671, allocations: 107.1 kB / 0.9585 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.6672, allocations: 99.08 kB / 0.9586 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.6672, allocations: 11.75 kB / 0.9586 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.328e-05/0.6673, allocations: 27.2 kB / 0.9586 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.6674, allocations: 29.81 kB / 0.9587 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.6675, allocations: 130.8 kB / 0.9588 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.6677, allocations: 265.3 kB / 0.959 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6678, allocations: 0 / 0.959 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6678, allocations: 0 / 0.959 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6678, allocations: 0 / 0.959 GB, free: 5.141 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.0007701/0.6686, allocations: 0.5972 MB / 0.9596 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6686, allocations: 9.188 kB / 0.9596 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.6687, allocations: 30.91 kB / 0.9597 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.6689, allocations: 264.9 kB / 0.9599 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.669, allocations: 22.22 kB / 0.9599 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.669, allocations: 19.5 kB / 0.96 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.6695, allocations: 200.1 kB / 0.9601 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6695, allocations: 4 kB / 0.9602 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.6696, allocations: 10.73 kB / 0.9602 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6696, allocations: 2.75 kB / 0.9602 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.6701, allocations: 198.9 kB / 0.9604 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.6711, allocations: 0.6481 MB / 0.961 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.6717, allocations: 208.5 kB / 0.9612 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.672, allocations: 153.9 kB / 0.9613 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.672, allocations: 1.156 kB / 0.9613 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/0.6725, allocations: 214 kB / 0.9615 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.6725, allocations: 0 / 0.9615 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001203/0.6737, allocations: 0.5108 MB / 0.962 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.6738, allocations: 109.8 kB / 0.9621 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.674, allocations: 211.8 kB / 0.9623 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.674, allocations: 34.95 kB / 0.9624 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.6741, allocations: 131.1 kB / 0.9625 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.6741, allocations: 47.42 kB / 0.9625 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.6742, allocations: 32.39 kB / 0.9626 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/0.6743, allocations: 332.2 kB / 0.9629 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.6747, allocations: 176.9 kB / 0.9631 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.6752, allocations: 214 kB / 0.9633 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/0.6759, allocations: 498 kB / 0.9637 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.6759, allocations: 4 kB / 0.9637 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001031/0.677, allocations: 0.5589 MB / 0.9643 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/0.677, allocations: 129 kB / 0.9644 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.6771, allocations: 1.188 kB / 0.9644 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6771, allocations: 2.812 kB / 0.9644 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.6773, allocations: 47.53 kB / 0.9645 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6773, allocations: 6.422 kB / 0.9645 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.6778, allocations: 113.6 kB / 0.9646 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.6779, allocations: 39.77 kB / 0.9646 GB, free: 0.9922 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.0001426/0.678, allocations: 204.3 kB / 0.9648 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.6781, allocations: 26.12 kB / 0.9648 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.6781, allocations: 25.98 kB / 0.9649 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6781, allocations: 1.969 kB / 0.9649 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.6782, allocations: 0 / 0.9649 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6782, allocations: 1.031 kB / 0.9649 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.6792, allocations: 0.7214 MB / 0.9656 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6792, allocations: 0 / 0.9656 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.6794, allocations: 50.28 kB / 0.9656 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6794, allocations: 5.125 kB / 0.9656 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.6794, allocations: 3 kB / 0.9656 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.6794, allocations: 4.953 kB / 0.9656 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6794, allocations: 0 / 0.9656 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008728/0.6803, allocations: 497.2 kB / 0.9661 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.6804, allocations: 102.2 kB / 0.9662 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.6804, allocations: 6.562 kB / 0.9662 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.6806, allocations: 31.31 kB / 0.9662 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.6807, allocations: 19.28 kB / 0.9663 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.6808, allocations: 24.94 kB / 0.9663 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001373/0.6809, allocations: 148.7 kB / 0.9664 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6809, allocations: 0 / 0.9664 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003432/0.6813, allocations: 52.66 kB / 0.9665 GB, free: 15.58 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.0001871/0.6815, allocations: 118.7 kB / 0.9666 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.6826, allocations: 0.5947 MB / 0.9672 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6826, allocations: 1.031 kB / 0.9672 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.6831, allocations: 269.9 kB / 0.9674 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.6835, allocations: 44.12 kB / 0.9675 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.6844, allocations: 0.5121 MB / 0.968 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.6848, allocations: 0.7279 MB / 0.9687 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.6848, allocations: 21.34 kB / 0.9687 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of SimCode: time 6.62e-07/0.6848, allocations: 0 / 0.9687 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.005727/0.6906, allocations: 3.063 MB / 0.9717 GB, free: 12.18 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/jenkins1/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