Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 118.4 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.057 GB, free: 1.984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3437, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00256/0.3463, allocations: 1.162 MB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.3485, allocations: 1.515 MB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.3486, allocations: 7.938 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.3488, allocations: 27.61 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.3489, allocations: 75.48 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.3502, allocations: 494.3 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.3509, allocations: 0.5894 MB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.3512, allocations: 120.4 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.3514, allocations: 231.4 kB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.3518, allocations: 215.2 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3519, allocations: 60 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.352, allocations: 71.98 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3521, allocations: 83.69 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.3524, allocations: 219.1 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.3531, allocations: 0.6306 MB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3531, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3531, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.3531, allocations: 3.938 kB / 1.219 GB, free: 11.47 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.001066/0.3542, allocations: 0.7585 MB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3542, allocations: 8.031 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.3543, allocations: 48.7 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.3554, allocations: 404.1 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.3554, allocations: 28.81 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/0.3555, allocations: 36.38 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.3559, allocations: 255.7 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.356, allocations: 3.938 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.356, allocations: 8 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.356, allocations: 4 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.3563, allocations: 157.7 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.3576, allocations: 0.8609 MB / 1.222 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003492/0.358, allocations: 206.7 kB / 1.222 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.3582, allocations: 188.8 kB / 1.222 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3582, allocations: 4 kB / 1.222 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/0.3586, allocations: 245.3 kB / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.3586, allocations: 0 / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.000752/0.3594, allocations: 434.4 kB / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.3595, allocations: 118.7 kB / 1.223 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.3598, allocations: 328.3 kB / 1.223 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.3599, allocations: 45.69 kB / 1.223 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3601, allocations: 188.7 kB / 1.224 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.3601, allocations: 55.58 kB / 1.224 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.3604, allocations: 146 kB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3605, allocations: 342.8 kB / 1.224 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.3609, allocations: 204.7 kB / 1.224 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.3614, allocations: 332.9 kB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.3621, allocations: 0.5271 MB / 1.225 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3621, allocations: 4 kB / 1.225 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001214/0.3633, allocations: 0.7409 MB / 1.226 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.3634, allocations: 126.8 kB / 1.226 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3635, allocations: 4 kB / 1.226 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.3635, allocations: 4 kB / 1.226 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3637, allocations: 59.84 kB / 1.226 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3637, allocations: 7.938 kB / 1.226 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.3644, allocations: 135.6 kB / 1.226 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3645, allocations: 67.86 kB / 1.226 GB, free: 4.027 MB / 0.9669 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.0002515/0.3648, allocations: 185.8 kB / 1.226 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.499e-05/0.3648, allocations: 35.8 kB / 1.226 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.3654, allocations: 365.1 kB / 1.227 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3654, allocations: 4 kB / 1.227 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3654, allocations: 3.938 kB / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3655, allocations: 0 / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.3665, allocations: 0.7613 MB / 1.228 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3665, allocations: 0 / 1.228 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.3666, allocations: 35.92 kB / 1.228 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.3666, allocations: 4 kB / 1.228 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3666, allocations: 7.938 kB / 1.228 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3666, allocations: 7.938 kB / 1.228 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3666, allocations: 0 / 1.228 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.3672, allocations: 432.5 kB / 1.228 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3673, allocations: 120.8 kB / 1.228 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.3673, allocations: 7.938 kB / 1.228 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3675, allocations: 8 kB / 1.228 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.3676, allocations: 23.97 kB / 1.228 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3676, allocations: 11.98 kB / 1.228 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002698/0.3678, allocations: 215.1 kB / 1.228 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3678, allocations: 0 / 1.228 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004545/0.3683, allocations: 91.95 kB / 1.228 GB, free: 1.637 MB / 0.9669 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.0002261/0.3685, allocations: 137.4 kB / 1.229 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009353/0.3695, allocations: 0.6105 MB / 1.229 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3695, allocations: 0.8125 kB / 1.229 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.3697, allocations: 132.6 kB / 1.229 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.3702, allocations: 92.83 kB / 1.229 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3713, allocations: 0.612 MB / 1.23 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.3718, allocations: 0.7769 MB / 1.231 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.3719, allocations: 43.42 kB / 1.231 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.3719, allocations: 0 / 1.231 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.009208/0.3811, allocations: 4.99 MB / 1.236 GB, free: 10.16 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.076763212215155]