Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009889/0.00989, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00144/0.00144, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3392, allocations: 157.4 MB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002671/0.3419, allocations: 1.147 MB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002361/0.3443, allocations: 1.521 MB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.3445, allocations: 0 / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.3447, allocations: 31.61 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.3448, allocations: 67.44 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.346, allocations: 495.1 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007019/0.3467, allocations: 0.6168 MB / 1.212 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.347, allocations: 152.3 kB / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.3475, allocations: 223.5 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.3478, allocations: 215.2 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3479, allocations: 60 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3481, allocations: 75.98 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.3482, allocations: 83.69 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.3484, allocations: 219.1 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.349, allocations: 0.6347 MB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.349, allocations: 3.938 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.349, allocations: 0 / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.476e-05/0.3491, allocations: 0 / 1.213 GB, free: 4.168 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001078/0.3501, allocations: 0.7433 MB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3502, allocations: 8.625 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.3503, allocations: 48.55 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3514, allocations: 399.9 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.3514, allocations: 28.8 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.3515, allocations: 36.38 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.3519, allocations: 247.8 kB / 1.215 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.352, allocations: 3.938 kB / 1.215 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.352, allocations: 15.98 kB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.352, allocations: 8 kB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.3523, allocations: 161.6 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.3537, allocations: 0.8412 MB / 1.216 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.3541, allocations: 222.7 kB / 1.216 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3544, allocations: 207.2 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3544, allocations: 4 kB / 1.216 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.3547, allocations: 255.8 kB / 1.216 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.3547, allocations: 0 / 1.216 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.0006974/0.3554, allocations: 435.6 kB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3555, allocations: 110.8 kB / 1.217 GB, free: 216 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.3559, allocations: 324.3 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.3559, allocations: 45.64 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3561, allocations: 176.5 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.3561, allocations: 67.14 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.3564, allocations: 146 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3565, allocations: 342.8 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.3569, allocations: 208.7 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.3574, allocations: 325 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.358, allocations: 0.5233 MB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.358, allocations: 0 / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001129/0.3591, allocations: 0.7403 MB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.3592, allocations: 126.8 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3592, allocations: 7.984 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3593, allocations: 4 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.3595, allocations: 56.27 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3595, allocations: 15.92 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.3601, allocations: 127.5 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3603, allocations: 71.86 kB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0002/0.3605, allocations: 189.6 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.3605, allocations: 31.62 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.3611, allocations: 365.7 kB / 1.221 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3611, allocations: 4 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3611, allocations: 3.938 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3611, allocations: 0 / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00086/0.362, allocations: 0.7452 MB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.362, allocations: 0 / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.3621, allocations: 43.84 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.3621, allocations: 8 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3621, allocations: 7.984 kB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3622, allocations: 4 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3622, allocations: 0 / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.3626, allocations: 428 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.3627, allocations: 116.6 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.3627, allocations: 7.984 kB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3629, allocations: 8 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.3629, allocations: 27.97 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.363, allocations: 8 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002009/0.3632, allocations: 219 kB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3632, allocations: 0 / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003909/0.3636, allocations: 99.78 kB / 1.222 GB, free: 10.34 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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.0001997/0.3638, allocations: 129.4 kB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008932/0.3647, allocations: 0.6814 MB / 1.223 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3647, allocations: 0 / 1.223 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.3649, allocations: 147.9 kB / 1.223 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.3654, allocations: 73.86 kB / 1.223 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009353/0.3664, allocations: 0.5752 MB / 1.224 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3667, allocations: 0.773 MB / 1.224 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.3669, allocations: 71.23 kB / 1.225 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.367, allocations: 39.36 kB / 1.225 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of SimCode: time 6.52e-07/0.367, allocations: 4 kB / 1.225 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.01083/0.3778, allocations: 5.505 MB / 1.23 GB, free: 2.305 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches