Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002411/0.002411, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.281/3.281, allocations: 0.4899 GB / 0.7916 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 74.84 kB / 1.149 GB, free: 26.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4216, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002644/0.4242, allocations: 1.162 MB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.4269, allocations: 1.533 MB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.4271, allocations: 4 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.4272, allocations: 47.53 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.4274, allocations: 63.5 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.4286, allocations: 480 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006679/0.4293, allocations: 0.5933 MB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.4295, allocations: 124.4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.4298, allocations: 227.4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.4301, allocations: 215.2 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.607e-05/0.4302, allocations: 67.88 kB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.4303, allocations: 75.98 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.4304, allocations: 79.7 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.4307, allocations: 223.1 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.4313, allocations: 0.6228 MB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4313, allocations: 0 / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4313, allocations: 4 kB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4313, allocations: 0 / 1.327 GB, free: 13.33 MB / 1.029 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.001003/0.4323, allocations: 0.7587 MB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4324, allocations: 11.98 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.4325, allocations: 48.7 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.4335, allocations: 408.1 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.4336, allocations: 24.81 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.4336, allocations: 32.38 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.434, allocations: 251.8 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4341, allocations: 7.875 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.4341, allocations: 8 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.4341, allocations: 4 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.4344, allocations: 157.7 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4357, allocations: 0.8531 MB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.436, allocations: 206.7 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4363, allocations: 196.7 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.4363, allocations: 0 / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/0.4366, allocations: 252.5 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.253e-06/0.4366, allocations: 0 / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.000724/0.4374, allocations: 435.1 kB / 1.33 GB, free: 9.504 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.4374, allocations: 110.8 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.4378, allocations: 332.3 kB / 1.331 GB, free: 9.035 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.4379, allocations: 41.69 kB / 1.331 GB, free: 8.988 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.438, allocations: 184.7 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.4381, allocations: 59.58 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/0.4383, allocations: 146 kB / 1.331 GB, free: 8.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4385, allocations: 338.8 kB / 1.331 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.4389, allocations: 204.7 kB / 1.331 GB, free: 8.055 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.4394, allocations: 339 kB / 1.332 GB, free: 7.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.4401, allocations: 0.5311 MB / 1.332 GB, free: 7.074 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4401, allocations: 4 kB / 1.332 GB, free: 7.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001223/0.4413, allocations: 0.7446 MB / 1.333 GB, free: 6.297 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.4415, allocations: 126.8 kB / 1.333 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4415, allocations: 4 kB / 1.333 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4415, allocations: 4 kB / 1.333 GB, free: 6.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.4417, allocations: 63.84 kB / 1.333 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4417, allocations: 11.88 kB / 1.333 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.4424, allocations: 131.7 kB / 1.333 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.4426, allocations: 63.92 kB / 1.333 GB, free: 5.875 MB / 1.029 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.0002441/0.4428, allocations: 193.7 kB / 1.334 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.4429, allocations: 39.75 kB / 1.334 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005636/0.4434, allocations: 353.2 kB / 1.334 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4434, allocations: 4 kB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4434, allocations: 3.938 kB / 1.334 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.4434, allocations: 8 kB / 1.334 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009579/0.4444, allocations: 0.7534 MB / 1.335 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.4444, allocations: 0 / 1.335 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.4445, allocations: 35.92 kB / 1.335 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4445, allocations: 4 kB / 1.335 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4446, allocations: 8 kB / 1.335 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4446, allocations: 0 / 1.335 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4446, allocations: 0 / 1.335 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.4451, allocations: 440.2 kB / 1.335 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.4452, allocations: 112.8 kB / 1.335 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.4452, allocations: 7.938 kB / 1.335 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4453, allocations: 8 kB / 1.335 GB, free: 3.828 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.4454, allocations: 23.97 kB / 1.335 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.4454, allocations: 15.98 kB / 1.335 GB, free: 3.789 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002599/0.4457, allocations: 215 kB / 1.336 GB, free: 3.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4457, allocations: 0 / 1.336 GB, free: 3.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004839/0.4462, allocations: 92 kB / 1.336 GB, free: 3.488 MB / 1.029 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.0002252/0.4464, allocations: 125.4 kB / 1.336 GB, free: 3.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009275/0.4473, allocations: 0.6117 MB / 1.336 GB, free: 2.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4473, allocations: 128 / 1.336 GB, free: 2.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.4475, allocations: 140.4 kB / 1.337 GB, free: 2.559 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.4481, allocations: 84.89 kB / 1.337 GB, free: 2.477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.449, allocations: 0.5941 MB / 1.337 GB, free: 1.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4494, allocations: 0.7769 MB / 1.338 GB, free: 1.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.4496, allocations: 71.23 kB / 1.338 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.4497, allocations: 39.42 kB / 1.338 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4497, allocations: 0 / 1.338 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of Templates: time 0.01136/0.461, allocations: 5.526 MB / 1.343 GB, free: 11.49 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.614329327829182]