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.001547/0.001547, allocations: 109.1 kB / 15.99 MB, free: 6.336 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.001527/0.001527, allocations: 199.1 kB / 16.91 MB, free: 6.176 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.573/2.573, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.00183, allocations: 66.03 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2855, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003167/0.2887, allocations: 1.379 MB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.2913, allocations: 1.544 MB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.2914, allocations: 4 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.2917, allocations: 27.73 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2918, allocations: 47.56 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.2931, allocations: 472.8 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.2938, allocations: 0.6794 MB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.2941, allocations: 161.2 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.2944, allocations: 259.3 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.2946, allocations: 211.2 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.2948, allocations: 64 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2949, allocations: 87.98 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.295, allocations: 83.69 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.2953, allocations: 243 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.2958, allocations: 0.5182 MB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2958, allocations: 0 / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2958, allocations: 0 / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2958, allocations: 0 / 1.07 GB, free: 9.348 MB / 0.8419 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.001264/0.2971, allocations: 0.939 MB / 1.071 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2971, allocations: 8.031 kB / 1.071 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.2973, allocations: 48.47 kB / 1.071 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.2986, allocations: 483.7 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.2987, allocations: 24.94 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.2988, allocations: 44.36 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.2994, allocations: 321.3 kB / 1.072 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2995, allocations: 3.938 kB / 1.072 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.2995, allocations: 8 kB / 1.072 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2995, allocations: 8 kB / 1.072 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/0.3001, allocations: 258 kB / 1.072 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.3017, allocations: 0.9237 MB / 1.073 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.3024, allocations: 379.4 kB / 1.073 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.303, allocations: 290.8 kB / 1.073 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.303, allocations: 4 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005823/0.3036, allocations: 323 kB / 1.074 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.3036, allocations: 0 / 1.074 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.001601/0.3052, allocations: 0.8343 MB / 1.075 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.3054, allocations: 195.9 kB / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.3057, allocations: 284.5 kB / 1.075 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/0.3058, allocations: 45.69 kB / 1.075 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.306, allocations: 168.8 kB / 1.075 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.3061, allocations: 130.2 kB / 1.075 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.3063, allocations: 134.1 kB / 1.075 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3065, allocations: 350.8 kB / 1.076 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.3071, allocations: 272.8 kB / 1.076 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.3078, allocations: 365.8 kB / 1.076 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.309, allocations: 0.905 MB / 1.077 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3091, allocations: 7.938 kB / 1.077 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00166/0.3107, allocations: 0.99 MB / 1.078 GB, free: 144 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.4557/0.7664, allocations: 260.8 kB / 1.078 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.7665, allocations: 2.531 kB / 1.078 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.7665, allocations: 4.75 kB / 1.078 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.7669, allocations: 69.53 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.7669, allocations: 6.156 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.7678, allocations: 142.4 kB / 1.079 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.7679, allocations: 70.5 kB / 1.079 GB, free: 22.18 MB / 0.8419 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.0002727/0.7682, allocations: 314.9 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.7683, allocations: 38.17 kB / 1.079 GB, free: 21.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.7683, allocations: 43.56 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.7684, allocations: 7.875 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7684, allocations: 0 / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.7684, allocations: 2.828 kB / 1.079 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.7701, allocations: 1.198 MB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7701, allocations: 1.125 kB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.7703, allocations: 66.48 kB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7703, allocations: 2 kB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.7704, allocations: 18 kB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.7704, allocations: 6.703 kB / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7704, allocations: 0 / 1.08 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.7714, allocations: 0.7658 MB / 1.081 GB, free: 21.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.7714, allocations: 111.5 kB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.7715, allocations: 11.56 kB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.7717, allocations: 30.91 kB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.7718, allocations: 37.56 kB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.7719, allocations: 49.69 kB / 1.081 GB, free: 21.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001763/0.7721, allocations: 207.3 kB / 1.082 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7721, allocations: 0 / 1.082 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004131/0.7725, allocations: 108 kB / 1.082 GB, free: 20.96 MB / 0.8419 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.0001526/0.7727, allocations: 121.8 kB / 1.082 GB, free: 20.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.7741, allocations: 1.196 MB / 1.083 GB, free: 20.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7741, allocations: 0 / 1.083 GB, free: 20.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.7746, allocations: 0.5249 MB / 1.083 GB, free: 19.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.7752, allocations: 82.53 kB / 1.084 GB, free: 19.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.7763, allocations: 0.9448 MB / 1.084 GB, free: 19.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.7766, allocations: 0.7959 MB / 1.085 GB, free: 18.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.7767, allocations: 36.31 kB / 1.085 GB, free: 18.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.7767, allocations: 0 / 1.085 GB, free: 18.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.01041/0.7871, allocations: 5.613 MB / 1.091 GB, free: 18.03 MB / 0.8419 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=400 -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/jenkins1/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