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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008144/0.008144, allocations: 102.5 kB / 15.73 MB, free: 6.488 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.00155/0.00155, allocations: 196.2 kB / 16.68 MB, free: 6.363 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.923/2.923, allocations: 469.8 MB / 0.7425 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 64.36 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3792, allocations: 159.1 MB / 1.221 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00321/0.3824, allocations: 1.345 MB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.3854, allocations: 1.556 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.3856, allocations: 4 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.3858, allocations: 39.53 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.3859, allocations: 71.44 kB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3871, allocations: 0.4984 MB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.3878, allocations: 0.652 MB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.388, allocations: 128.9 kB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.3883, allocations: 259.3 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.3886, allocations: 243.1 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.3888, allocations: 64 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.389, allocations: 83.92 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.3891, allocations: 75.77 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.3895, allocations: 246.9 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007725/0.3902, allocations: 0.685 MB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3902, allocations: 0 / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3902, allocations: 4 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.3903, allocations: 0 / 1.226 GB, free: 7.949 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.001375/0.3916, allocations: 0.9504 MB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3917, allocations: 8.031 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3918, allocations: 52.66 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.393, allocations: 476 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.393, allocations: 32.92 kB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.3931, allocations: 36.38 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.3938, allocations: 325.3 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3938, allocations: 3.938 kB / 1.228 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.3938, allocations: 12 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.3938, allocations: 4 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.3944, allocations: 258 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.3959, allocations: 0.9161 MB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.3966, allocations: 353.5 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.3971, allocations: 259.7 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3971, allocations: 4 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005913/0.3977, allocations: 327 kB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.355e-06/0.3977, allocations: 0 / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001741/0.3994, allocations: 0.8345 MB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.3996, allocations: 191.9 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.3999, allocations: 288.5 kB / 1.232 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.3999, allocations: 45.64 kB / 1.232 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4001, allocations: 180.8 kB / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.769e-05/0.4002, allocations: 130.9 kB / 1.232 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.4005, allocations: 138.1 kB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4007, allocations: 342.8 kB / 1.232 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.4013, allocations: 280.8 kB / 1.233 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/0.402, allocations: 365.8 kB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.4032, allocations: 0.9051 MB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.4032, allocations: 3.938 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001563/0.4047, allocations: 0.9978 MB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.405, allocations: 259.6 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.405, allocations: 4 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.405, allocations: 8 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.4053, allocations: 67.89 kB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4053, allocations: 7.938 kB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.406, allocations: 151.5 kB / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.4061, allocations: 67.92 kB / 1.235 GB, free: 14.16 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.0003029/0.4064, allocations: 326.1 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.4064, allocations: 43.77 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.4065, allocations: 39.48 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4065, allocations: 4 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4065, allocations: 0 / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4065, allocations: 0 / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.4083, allocations: 1.195 MB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4083, allocations: 0 / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.4085, allocations: 67.89 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4085, allocations: 0 / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.4086, allocations: 15.98 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4086, allocations: 0 / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4086, allocations: 7.938 kB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4096, allocations: 0.7589 MB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.4097, allocations: 112.8 kB / 1.238 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.4097, allocations: 12 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.4099, allocations: 31.91 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.41, allocations: 39.89 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.4101, allocations: 51.88 kB / 1.238 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001834/0.4103, allocations: 199.1 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4103, allocations: 0 / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004325/0.4107, allocations: 111.9 kB / 1.238 GB, free: 10.96 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.0002025/0.4109, allocations: 119.9 kB / 1.238 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.4124, allocations: 1.051 MB / 1.239 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4124, allocations: 3.938 kB / 1.239 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.413, allocations: 0.4929 MB / 1.24 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.4135, allocations: 86.56 kB / 1.24 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.4148, allocations: 0.8128 MB / 1.241 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.4151, allocations: 0.7924 MB / 1.242 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.4153, allocations: 95.19 kB / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.4154, allocations: 35.44 kB / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.4154, allocations: 0 / 1.242 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of Templates: time 0.01202/0.4274, allocations: 6.617 MB / 1.248 GB, free: 0.7148 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) 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) Reference file matches