Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.00135/0.00135, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001455/0.001455, allocations: 214.8 kB / 23.01 MB, free: 5.125 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.227/3.227, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [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.003265/0.003265, allocations: 62.62 kB / 1.178 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4155, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002422/0.4179, allocations: 1.013 MB / 1.355 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.4199, allocations: 1.374 MB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.42, allocations: 7.938 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.4202, allocations: 19.73 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.4203, allocations: 47.64 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.4211, allocations: 268.2 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.4216, allocations: 387.3 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.4218, allocations: 45.78 kB / 1.357 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.422, allocations: 155.6 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.4222, allocations: 135.5 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.4223, allocations: 36 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4224, allocations: 55.97 kB / 1.358 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.4225, allocations: 55.78 kB / 1.358 GB, free: 4.324 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.4227, allocations: 143.4 kB / 1.358 GB, free: 4.184 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.4232, allocations: 410.4 kB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4232, allocations: 0 / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4232, allocations: 0 / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.371e-06/0.4232, allocations: 4 kB / 1.358 GB, free: 3.777 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00107/0.4243, allocations: 0.5529 MB / 1.359 GB, free: 3.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4243, allocations: 12.03 kB / 1.359 GB, free: 3.168 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.4247, allocations: 60.77 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.4256, allocations: 313.1 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.4256, allocations: 12.38 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.4257, allocations: 24.31 kB / 1.359 GB, free: 2.742 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.4261, allocations: 202.4 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4262, allocations: 7.875 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.4262, allocations: 11.98 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.4262, allocations: 0 / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.4267, allocations: 147.8 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.428, allocations: 0.8711 MB / 1.36 GB, free: 1.43 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.4283, allocations: 149 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.4285, allocations: 80.3 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4285, allocations: 8 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.429, allocations: 163.5 kB / 1.361 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.429, allocations: 0 / 1.361 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0008757/0.4299, allocations: 261.5 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.43, allocations: 158.2 kB / 1.361 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.4303, allocations: 221 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.4303, allocations: 29.7 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.4304, allocations: 156.2 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.4305, allocations: 27.84 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4306, allocations: 57.75 kB / 1.362 GB, free: 15.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.4308, allocations: 334.8 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.4311, allocations: 95.92 kB / 1.362 GB, free: 15.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.4315, allocations: 172 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/0.4321, allocations: 278.9 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4321, allocations: 4 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008875/0.433, allocations: 376.6 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.433, allocations: 67.56 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.433, allocations: 15.92 kB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4331, allocations: 4 kB / 1.363 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.4332, allocations: 19.98 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.4333, allocations: 7.984 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.4336, allocations: 79.75 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.4337, allocations: 15.98 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001747/0.4339, allocations: 158.2 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.4339, allocations: 20.33 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.434, allocations: 25.33 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.434, allocations: 4 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.434, allocations: 0 / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.434, allocations: 3.984 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.4342, allocations: 236.6 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4343, allocations: 0 / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.4344, allocations: 23.97 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4344, allocations: 4 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4344, allocations: 0 / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.4344, allocations: 7.938 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4344, allocations: 0 / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.435, allocations: 236.2 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.435, allocations: 27.8 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.4351, allocations: 7.984 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4352, allocations: 15.98 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.4353, allocations: 19.91 kB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.4353, allocations: 12 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001518/0.4354, allocations: 164.4 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4354, allocations: 0 / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003161/0.4357, allocations: 51.89 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001713/0.4359, allocations: 107.2 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007782/0.4367, allocations: 310.9 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4367, allocations: 4.062 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.437, allocations: 79.86 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.4373, allocations: 54.7 kB / 1.364 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007871/0.4381, allocations: 417.1 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.4385, allocations: 0.7476 MB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.4386, allocations: 19.44 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.4386, allocations: 0 / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of Templates: time 0.006089/0.4447, allocations: 3.059 MB / 1.369 GB, free: 8.5 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.824178220995236]