Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001176/0.001176, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.007408/0.007408, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.893/2.893, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004363, allocations: 11.81 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3761, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001535/0.3777, allocations: 1.036 MB / 1.06 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.3797, allocations: 1.607 MB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.3798, allocations: 4 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.3799, allocations: 23.73 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.3801, allocations: 55.56 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3811, allocations: 467.6 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.3816, allocations: 0.5622 MB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.3819, allocations: 157.1 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.3821, allocations: 195.3 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.3823, allocations: 171.2 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.3824, allocations: 20 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3825, allocations: 43.98 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.3826, allocations: 59.7 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.3828, allocations: 216.7 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.3833, allocations: 0.619 MB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3833, allocations: 11.92 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3833, allocations: 0 / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3833, allocations: 0 / 1.064 GB, free: 256 kB / 0.8106 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.001057/0.3844, allocations: 0.8455 MB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3844, allocations: 12.03 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3846, allocations: 52.45 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.3859, allocations: 0.4898 MB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.3859, allocations: 28.92 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.386, allocations: 40.38 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.3867, allocations: 333.3 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3867, allocations: 7.875 kB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3867, allocations: 8 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.3867, allocations: 8 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.3874, allocations: 278 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.3889, allocations: 0.9354 MB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.3896, allocations: 395.2 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.3901, allocations: 295 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3901, allocations: 4 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005786/0.3907, allocations: 342.9 kB / 1.068 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.3907, allocations: 3.938 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001558/0.3923, allocations: 0.8684 MB / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.3924, allocations: 191.9 kB / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3927, allocations: 288.5 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.3928, allocations: 41.7 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3929, allocations: 168.8 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.393, allocations: 130.2 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.3931, allocations: 61.62 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3933, allocations: 350.8 kB / 1.07 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.3939, allocations: 284.8 kB / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006435/0.3945, allocations: 377.8 kB / 1.07 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.3957, allocations: 0.9324 MB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3958, allocations: 3.938 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001598/0.3974, allocations: 1.025 MB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.3975, allocations: 259.3 kB / 1.073 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3975, allocations: 0 / 1.073 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3975, allocations: 8 kB / 1.073 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.3978, allocations: 71.89 kB / 1.073 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3978, allocations: 8 kB / 1.073 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/0.3986, allocations: 197.4 kB / 1.073 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.3988, allocations: 75.84 kB / 1.073 GB, free: 6.32 MB / 0.8262 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.0002631/0.399, allocations: 314.1 kB / 1.073 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.3991, allocations: 35.62 kB / 1.073 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.617e-05/0.3992, allocations: 47.48 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3992, allocations: 4 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.3992, allocations: 0 / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3992, allocations: 3.938 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.4009, allocations: 1.223 MB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4009, allocations: 4 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.4012, allocations: 67.89 kB / 1.075 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4012, allocations: 0 / 1.075 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.4012, allocations: 19.98 kB / 1.075 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4012, allocations: 0 / 1.075 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4012, allocations: 3.938 kB / 1.075 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.4024, allocations: 0.7887 MB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.4024, allocations: 112.6 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.4025, allocations: 8 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.4027, allocations: 39.97 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.4028, allocations: 43.83 kB / 1.076 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.4029, allocations: 47.94 kB / 1.076 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001724/0.4031, allocations: 195.1 kB / 1.076 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.4031, allocations: 0 / 1.076 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004078/0.4035, allocations: 111.8 kB / 1.076 GB, free: 3.078 MB / 0.8262 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.0001626/0.4037, allocations: 127.2 kB / 1.076 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.4051, allocations: 1.132 MB / 1.077 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4052, allocations: 3.938 kB / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.4058, allocations: 0.5328 MB / 1.078 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.4063, allocations: 80.55 kB / 1.078 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4075, allocations: 0.9124 MB / 1.079 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4079, allocations: 0.7966 MB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.4081, allocations: 91.2 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.4082, allocations: 39.36 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.4082, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.01022/0.4184, allocations: 6.097 MB / 1.085 GB, free: 9.137 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches