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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 489.7 MB / 0.7761 GB, free: 2.512 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=514,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=514,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") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 1.127 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 172 MB / 1.295 GB, free: 38.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002555/1.015, allocations: 1.153 MB / 1.296 GB, free: 37.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001829/1.017, allocations: 1.524 MB / 1.297 GB, free: 36.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/1.017, allocations: 2.875 kB / 1.297 GB, free: 36.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/1.017, allocations: 34.33 kB / 1.298 GB, free: 36.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/1.017, allocations: 62.81 kB / 1.298 GB, free: 36.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/1.018, allocations: 498.7 kB / 1.298 GB, free: 36.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004443/1.018, allocations: 0.5815 MB / 1.299 GB, free: 36.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/1.019, allocations: 125.6 kB / 1.299 GB, free: 36.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/1.019, allocations: 226 kB / 1.299 GB, free: 36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/1.019, allocations: 218 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/1.019, allocations: 60.94 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/1.019, allocations: 77.23 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/1.019, allocations: 73.12 kB / 1.299 GB, free: 35.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/1.019, allocations: 231.3 kB / 1.3 GB, free: 35.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004853/1.02, allocations: 0.6307 MB / 1.3 GB, free: 35.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.02, allocations: 0 / 1.3 GB, free: 35.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/1.02, allocations: 0 / 1.3 GB, free: 35.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.02, allocations: 0 / 1.3 GB, free: 35.48 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.0007959/1.021, allocations: 0.7582 MB / 1.301 GB, free: 34.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.021, allocations: 8.625 kB / 1.301 GB, free: 34.82 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/1.021, allocations: 49.27 kB / 1.301 GB, free: 34.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/1.022, allocations: 408.6 kB / 1.301 GB, free: 34.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/1.022, allocations: 23.38 kB / 1.301 GB, free: 34.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/1.022, allocations: 33.84 kB / 1.301 GB, free: 34.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/1.022, allocations: 250.6 kB / 1.302 GB, free: 34.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.022, allocations: 3.938 kB / 1.302 GB, free: 34.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/1.022, allocations: 10.23 kB / 1.302 GB, free: 34.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.022, allocations: 5.375 kB / 1.302 GB, free: 34.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/1.023, allocations: 157.7 kB / 1.302 GB, free: 34.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/1.024, allocations: 0.8463 MB / 1.303 GB, free: 33.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/1.024, allocations: 209.5 kB / 1.303 GB, free: 33.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/1.024, allocations: 193.9 kB / 1.303 GB, free: 33.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/1.024, allocations: 4 kB / 1.303 GB, free: 33.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/1.025, allocations: 250.9 kB / 1.303 GB, free: 33.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.894e-06/1.025, allocations: 2.719 kB / 1.303 GB, free: 33.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007255/1.026, allocations: 433 kB / 1.304 GB, free: 33.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.026, allocations: 112.1 kB / 1.304 GB, free: 33.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/1.026, allocations: 327.3 kB / 1.304 GB, free: 33.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/1.026, allocations: 42.77 kB / 1.304 GB, free: 33.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/1.026, allocations: 183.7 kB / 1.304 GB, free: 32.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/1.026, allocations: 58.47 kB / 1.304 GB, free: 32.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.026, allocations: 142.2 kB / 1.305 GB, free: 32.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/1.026, allocations: 344.2 kB / 1.305 GB, free: 32.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/1.027, allocations: 216.6 kB / 1.305 GB, free: 32.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/1.027, allocations: 324.9 kB / 1.305 GB, free: 32.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/1.028, allocations: 0.5345 MB / 1.306 GB, free: 31.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.028, allocations: 2.906 kB / 1.306 GB, free: 31.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001029/1.029, allocations: 0.7411 MB / 1.307 GB, free: 31.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/1.029, allocations: 126.2 kB / 1.307 GB, free: 31.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.029, allocations: 5.406 kB / 1.307 GB, free: 31.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/1.029, allocations: 2.469 kB / 1.307 GB, free: 31.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/1.029, allocations: 60 kB / 1.307 GB, free: 31.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.029, allocations: 14.36 kB / 1.307 GB, free: 31.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/1.03, allocations: 128.2 kB / 1.307 GB, free: 31.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.03, allocations: 74.41 kB / 1.307 GB, free: 31.31 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.0002445/1.03, allocations: 196.2 kB / 1.307 GB, free: 31.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/1.03, allocations: 37.39 kB / 1.307 GB, free: 31.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/1.031, allocations: 362.3 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.031, allocations: 6.906 kB / 1.308 GB, free: 31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.031, allocations: 7 kB / 1.308 GB, free: 30.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.031, allocations: 3 kB / 1.308 GB, free: 30.99 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009023/1.032, allocations: 0.7428 MB / 1.308 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.032, allocations: 0 / 1.308 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/1.032, allocations: 39.52 kB / 1.308 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.032, allocations: 0 / 1.308 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.032, allocations: 10.28 kB / 1.308 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.032, allocations: 6.938 kB / 1.308 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.032, allocations: 0 / 1.308 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/1.032, allocations: 437 kB / 1.309 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/1.032, allocations: 116.7 kB / 1.309 GB, free: 30.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/1.032, allocations: 6.906 kB / 1.309 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/1.032, allocations: 10.16 kB / 1.309 GB, free: 30.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/1.032, allocations: 26.12 kB / 1.309 GB, free: 30.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/1.033, allocations: 13.72 kB / 1.309 GB, free: 30.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001726/1.033, allocations: 219.6 kB / 1.309 GB, free: 30.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.033, allocations: 0 / 1.309 GB, free: 30.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004182/1.033, allocations: 91.75 kB / 1.309 GB, free: 30.02 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.0001858/1.033, allocations: 121.6 kB / 1.309 GB, free: 29.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007157/1.034, allocations: 0.614 MB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.034, allocations: 2.875 kB / 1.31 GB, free: 29.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/1.034, allocations: 131.8 kB / 1.31 GB, free: 29.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/1.035, allocations: 80.73 kB / 1.31 GB, free: 29.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/1.035, allocations: 0.6074 MB / 1.311 GB, free: 29.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/1.036, allocations: 0.7765 MB / 1.312 GB, free: 28.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/1.036, allocations: 40.31 kB / 1.312 GB, free: 28.41 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/1.036, allocations: 0 / 1.312 GB, free: 28.41 MB / 1.061 GB Notification: Performance of Templates: time 0.007037/1.043, allocations: 4.997 MB / 1.316 GB, free: 27.86 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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