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.001319/0.001319, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.001419/0.001419, allocations: 205 kB / 20.09 MB, free: 2.977 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.905/2.905, allocations: 0.49 GB / 0.7923 GB, free: 1.262 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.002032/0.002032, allocations: 71.89 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9981/1, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002155/1.002, allocations: 1.157 MB / 1.323 GB, free: 24.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001594/1.004, allocations: 1.547 MB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/1.004, allocations: 2.938 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/1.004, allocations: 30.52 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/1.004, allocations: 66.92 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009613/1.005, allocations: 490.3 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004539/1.006, allocations: 0.5909 MB / 1.326 GB, free: 22.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/1.006, allocations: 118.5 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/1.006, allocations: 236 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/1.006, allocations: 222.7 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/1.006, allocations: 60.03 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/1.006, allocations: 71.03 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/1.007, allocations: 81.02 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/1.007, allocations: 223.2 kB / 1.327 GB, free: 22.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005582/1.007, allocations: 0.6256 MB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.007, allocations: 0.5 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.007, allocations: 0 / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.007, allocations: 0.6562 kB / 1.327 GB, free: 21.86 MB / 1.061 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.0008671/1.008, allocations: 0.752 MB / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.008, allocations: 17.14 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/1.008, allocations: 50.09 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.009, allocations: 400.6 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/1.009, allocations: 26.39 kB / 1.329 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.992e-05/1.01, allocations: 36.47 kB / 1.329 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/1.01, allocations: 248.3 kB / 1.329 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.01, allocations: 4.438 kB / 1.329 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/1.01, allocations: 12.75 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/1.01, allocations: 4.25 kB / 1.329 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/1.01, allocations: 161.2 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/1.012, allocations: 0.8494 MB / 1.33 GB, free: 20.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/1.012, allocations: 211.8 kB / 1.33 GB, free: 20.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/1.012, allocations: 193.3 kB / 1.33 GB, free: 20.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/1.012, allocations: 2.312 kB / 1.33 GB, free: 20.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/1.013, allocations: 249.4 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/1.013, allocations: 4 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007587/1.014, allocations: 431 kB / 1.331 GB, free: 19.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.014, allocations: 115.9 kB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/1.014, allocations: 328.4 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/1.014, allocations: 42.62 kB / 1.331 GB, free: 19.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/1.014, allocations: 183.9 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/1.014, allocations: 62.67 kB / 1.332 GB, free: 19.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/1.014, allocations: 148.6 kB / 1.332 GB, free: 19.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.939e-05/1.015, allocations: 345 kB / 1.332 GB, free: 18.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/1.015, allocations: 214.1 kB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/1.015, allocations: 327.2 kB / 1.333 GB, free: 18.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/1.016, allocations: 0.5254 MB / 1.333 GB, free: 18.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.016, allocations: 1.406 kB / 1.333 GB, free: 18.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001276/1.017, allocations: 0.7469 MB / 1.334 GB, free: 17.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.017, allocations: 125.9 kB / 1.334 GB, free: 17.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.017, allocations: 3.312 kB / 1.334 GB, free: 17.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.017, allocations: 5.031 kB / 1.334 GB, free: 17.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/1.018, allocations: 62.98 kB / 1.334 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/1.018, allocations: 14.16 kB / 1.334 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/1.019, allocations: 127.7 kB / 1.334 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.019, allocations: 68.66 kB / 1.334 GB, free: 17.67 MB / 1.061 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.0003138/1.019, allocations: 195.4 kB / 1.334 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/1.019, allocations: 35.62 kB / 1.334 GB, free: 17.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007412/1.02, allocations: 361.4 kB / 1.335 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.02, allocations: 2.531 kB / 1.335 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.02, allocations: 5.25 kB / 1.335 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.02, allocations: 1.922 kB / 1.335 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/1.021, allocations: 0.7465 MB / 1.335 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.021, allocations: 0 / 1.335 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/1.021, allocations: 43.97 kB / 1.336 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.021, allocations: 1.375 kB / 1.336 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/1.021, allocations: 8.156 kB / 1.336 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.021, allocations: 3.453 kB / 1.336 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.021, allocations: 0 / 1.336 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/1.021, allocations: 432.6 kB / 1.336 GB, free: 16.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/1.022, allocations: 120 kB / 1.336 GB, free: 16.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/1.022, allocations: 7.406 kB / 1.336 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/1.022, allocations: 10.56 kB / 1.336 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/1.022, allocations: 21.45 kB / 1.336 GB, free: 16.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.022, allocations: 17.47 kB / 1.336 GB, free: 16.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002068/1.022, allocations: 213.4 kB / 1.336 GB, free: 16.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.022, allocations: 0 / 1.336 GB, free: 16.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004814/1.022, allocations: 96.27 kB / 1.336 GB, free: 16.38 MB / 1.061 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.0001802/1.023, allocations: 125 kB / 1.337 GB, free: 16.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008268/1.023, allocations: 0.6177 MB / 1.337 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.023, allocations: 0 / 1.337 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/1.024, allocations: 138.8 kB / 1.337 GB, free: 15.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/1.024, allocations: 82.39 kB / 1.337 GB, free: 15.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009137/1.025, allocations: 0.6123 MB / 1.338 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/1.025, allocations: 0.7807 MB / 1.339 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/1.025, allocations: 39.83 kB / 1.339 GB, free: 14.75 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/1.025, allocations: 1.344 kB / 1.339 GB, free: 14.75 MB / 1.061 GB Notification: Performance of Templates: time 0.01034/1.036, allocations: 4.989 MB / 1.344 GB, free: 14.22 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.818282229010947]