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.008235/0.008236, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001445/0.001445, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.432/1.432, 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.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.0012, allocations: 67.89 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.343, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002359/0.3454, allocations: 1.335 MB / 1.209 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.3474, allocations: 1.553 MB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.08e-05/0.3475, allocations: 7.938 kB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.3476, allocations: 27.61 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3478, allocations: 71.36 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3488, allocations: 0.4915 MB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.3495, allocations: 0.6911 MB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.3498, allocations: 168.8 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.3501, allocations: 259.3 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.3504, allocations: 243.1 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.703e-05/0.3505, allocations: 64 kB / 1.213 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.3507, allocations: 83.98 kB / 1.213 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.3508, allocations: 79.7 kB / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.351, allocations: 243 kB / 1.213 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.3516, allocations: 0.6814 MB / 1.214 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3517, allocations: 4 kB / 1.214 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3517, allocations: 3.938 kB / 1.214 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3517, allocations: 0 / 1.214 GB, free: 3.676 MB / 0.9669 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.001286/0.353, allocations: 0.9506 MB / 1.215 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.353, allocations: 12.62 kB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3531, allocations: 48.47 kB / 1.215 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.3544, allocations: 459.9 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.3545, allocations: 28.94 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.3545, allocations: 44.36 kB / 1.215 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.3552, allocations: 321.3 kB / 1.215 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3552, allocations: 3.938 kB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.3552, allocations: 15.94 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.3552, allocations: 8 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.3559, allocations: 250 kB / 1.216 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.3574, allocations: 0.912 MB / 1.217 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.3581, allocations: 382.5 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.3586, allocations: 281.4 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3586, allocations: 4 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.3592, allocations: 318.9 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.454e-06/0.3592, allocations: 4 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001544/0.3607, allocations: 0.8333 MB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3609, allocations: 191.9 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.3611, allocations: 288.5 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/0.3612, allocations: 41.7 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.3614, allocations: 172.8 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3615, allocations: 126.2 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3617, allocations: 130.1 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3618, allocations: 350.8 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.3624, allocations: 280.7 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.3631, allocations: 357.8 kB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.3642, allocations: 0.9207 MB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3642, allocations: 3.938 kB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00166/0.3659, allocations: 0.9975 MB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.3661, allocations: 259.3 kB / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3661, allocations: 4 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3661, allocations: 4 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.3664, allocations: 63.89 kB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3664, allocations: 4.25 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.3671, allocations: 147.4 kB / 1.222 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.3673, allocations: 83.84 kB / 1.223 GB, free: 9.867 MB / 0.9825 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.0002789/0.3675, allocations: 314.2 kB / 1.223 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.3676, allocations: 39.61 kB / 1.223 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.211e-05/0.3677, allocations: 31.5 kB / 1.223 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3677, allocations: 8 kB / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3677, allocations: 3.984 kB / 1.223 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3677, allocations: 4 kB / 1.223 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.3695, allocations: 1.188 MB / 1.224 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3695, allocations: 4 kB / 1.224 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.3697, allocations: 67.89 kB / 1.224 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.3697, allocations: 0 / 1.224 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.3698, allocations: 11.98 kB / 1.224 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3698, allocations: 4 kB / 1.224 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3698, allocations: 3.938 kB / 1.224 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3709, allocations: 0.7626 MB / 1.225 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.371, allocations: 116.5 kB / 1.225 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.3711, allocations: 12 kB / 1.225 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3713, allocations: 27.97 kB / 1.225 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3714, allocations: 39.89 kB / 1.225 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.3715, allocations: 51.94 kB / 1.225 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001865/0.3717, allocations: 195.1 kB / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.324e-06/0.3717, allocations: 0 / 1.225 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004259/0.3721, allocations: 119.8 kB / 1.225 GB, free: 6.688 MB / 0.9825 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.0001758/0.3723, allocations: 115.2 kB / 1.226 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.3737, allocations: 1.109 MB / 1.227 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3737, allocations: 3.938 kB / 1.227 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.3743, allocations: 0.5211 MB / 1.227 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.3749, allocations: 88.53 kB / 1.227 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3762, allocations: 0.7985 MB / 1.228 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.3765, allocations: 0.8002 MB / 1.229 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.3767, allocations: 91.19 kB / 1.229 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.167e-05/0.3768, allocations: 39.42 kB / 1.229 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3768, allocations: 0 / 1.229 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.01098/0.3878, allocations: 6.759 MB / 1.236 GB, free: 12.21 MB / 0.9981 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