Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001671/0.001671, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002246/0.002246, allocations: 215.6 kB / 23.04 MB, free: 4.863 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 / 256.8 MB, free: 7.793 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.145/3.145, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_12_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_12_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.002017/0.002017, allocations: 71.53 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3761, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00321/0.3793, allocations: 0.9595 MB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3819, allocations: 1.346 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.382, allocations: 3.938 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.3822, allocations: 19.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.3823, allocations: 43.66 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3834, allocations: 279.2 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.384, allocations: 387.2 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.3842, allocations: 41.78 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.3845, allocations: 155.6 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.3847, allocations: 115.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.3848, allocations: 36 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.3849, allocations: 51.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3851, allocations: 59.78 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.3852, allocations: 119.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.3858, allocations: 406.5 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3858, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.557e-06/0.3858, allocations: 3.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3858, allocations: 0 / 1.331 GB, free: 12.96 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001145/0.387, allocations: 0.5511 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.387, allocations: 20.02 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.3874, allocations: 72.7 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009397/0.3883, allocations: 301.1 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.3883, allocations: 16.36 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.3884, allocations: 24.38 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.3889, allocations: 198.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3889, allocations: 3.938 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.3889, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.3889, allocations: 11.92 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.3894, allocations: 139.8 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3905, allocations: 0.7858 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.3909, allocations: 156.9 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.3911, allocations: 80.3 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3911, allocations: 4 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.3915, allocations: 175.5 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3916, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0008988/0.3924, allocations: 257.5 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.3926, allocations: 170.1 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.3928, allocations: 221 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.3929, allocations: 29.7 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.393, allocations: 160.3 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.393, allocations: 23.81 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3931, allocations: 49.69 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3933, allocations: 338.8 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.3937, allocations: 167.4 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.3942, allocations: 289.9 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/0.3948, allocations: 270.9 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3948, allocations: 3.938 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009275/0.3957, allocations: 452 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.3958, allocations: 63.39 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3958, allocations: 4 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3958, allocations: 0 / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.396, allocations: 36.12 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.396, allocations: 4 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.3964, allocations: 71.81 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.3964, allocations: 15.98 kB / 1.336 GB, free: 7.414 MB / 1.029 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.0001824/0.3966, allocations: 158.2 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.3966, allocations: 15.91 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.3967, allocations: 29.27 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3967, allocations: 4 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3967, allocations: 0 / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3967, allocations: 3.984 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3969, allocations: 181.2 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3969, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.3971, allocations: 27.97 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3971, allocations: 4 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3971, allocations: 8 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3971, allocations: 4 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3971, allocations: 7.922 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/0.3977, allocations: 232.2 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.3977, allocations: 23.78 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.3978, allocations: 12 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3979, allocations: 15.98 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.398, allocations: 20.38 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.398, allocations: 4 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001585/0.3981, allocations: 164.5 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3981, allocations: 0 / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003009/0.3984, allocations: 51.89 kB / 1.337 GB, free: 6.391 MB / 1.029 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.0001726/0.3986, allocations: 107.2 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008405/0.3994, allocations: 374 kB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3995, allocations: 0 / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.3998, allocations: 100.3 kB / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.4001, allocations: 49.72 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.4009, allocations: 421.3 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.4011, allocations: 136.8 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.4012, allocations: 19.44 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4012, allocations: 0 / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of Templates: time 0.005956/0.4071, allocations: 3.143 MB / 1.341 GB, free: 1.992 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.841793874045834]