Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00076/0.00076, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008256/0.0008256, allocations: 181.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9178/0.9178, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.657/1.657, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.142e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001364/0.001385, allocations: 0.9541 MB / 0.9527 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.002623, allocations: 1.354 MB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.002681, allocations: 7.938 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.607e-05/0.002777, allocations: 15.8 kB / 0.954 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.002852, allocations: 51.53 kB / 0.9541 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.003404, allocations: 285.3 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.00371, allocations: 383.2 kB / 0.9547 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.003839, allocations: 41.78 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.004024, allocations: 219.6 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.004156, allocations: 103.7 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.0042, allocations: 36 kB / 0.9551 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.154e-05/0.004281, allocations: 47.98 kB / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.004345, allocations: 63.77 kB / 0.9552 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.174e-05/0.004427, allocations: 99.78 kB / 0.9553 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.004747, allocations: 454.6 kB / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004749, allocations: 0 / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00475, allocations: 0 / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.004755, allocations: 0 / 0.9557 GB, free: 14.88 MB / 0.9167 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.0006361/0.005391, allocations: 0.5394 MB / 0.9562 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.005425, allocations: 12.03 kB / 0.9562 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.005672, allocations: 76.75 kB / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.006187, allocations: 312.8 kB / 0.9566 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.006206, allocations: 12.38 kB / 0.9566 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.006236, allocations: 24.31 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.006502, allocations: 210.3 kB / 0.9569 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.006512, allocations: 4.172 kB / 0.9569 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.006527, allocations: 8.375 kB / 0.9569 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.006534, allocations: 12.12 kB / 0.9569 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.006774, allocations: 135.8 kB / 0.957 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.007409, allocations: 0.7858 MB / 0.9578 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.007584, allocations: 149 kB / 0.9579 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.007697, allocations: 80.25 kB / 0.958 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.007708, allocations: 4 kB / 0.958 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.007931, allocations: 171.5 kB / 0.9582 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.007932, allocations: 0 / 0.9582 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0004674/0.0084, allocations: 253.2 kB / 0.9584 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.008457, allocations: 166.6 kB / 0.9586 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.008596, allocations: 225.7 kB / 0.9588 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.008623, allocations: 37.7 kB / 0.9588 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.008703, allocations: 152.4 kB / 0.959 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.008727, allocations: 31.75 kB / 0.959 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.008796, allocations: 57.67 kB / 0.959 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.008872, allocations: 326.8 kB / 0.9594 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.009074, allocations: 163.3 kB / 0.9595 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.009302, allocations: 294.6 kB / 0.9598 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.009607, allocations: 282.8 kB / 0.9601 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009609, allocations: 0 / 0.9601 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004897/0.0101, allocations: 436.1 kB / 0.9605 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.01014, allocations: 67.39 kB / 0.9605 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01014, allocations: 0 / 0.9605 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.01015, allocations: 4 kB / 0.9605 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.01024, allocations: 35.91 kB / 0.9606 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01025, allocations: 0 / 0.9606 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.01044, allocations: 75.88 kB / 0.9606 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.01046, allocations: 15.98 kB / 0.9607 GB, free: 9.348 MB / 0.9167 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.0001058/0.01057, allocations: 149.8 kB / 0.9608 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.01059, allocations: 31.73 kB / 0.9608 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.01063, allocations: 21.34 kB / 0.9609 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01063, allocations: 0 / 0.9609 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01064, allocations: 7.984 kB / 0.9609 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01064, allocations: 4 kB / 0.9609 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.01076, allocations: 173.2 kB / 0.961 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01077, allocations: 4 kB / 0.961 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.01082, allocations: 23.97 kB / 0.9611 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01083, allocations: 3.938 kB / 0.9611 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.01084, allocations: 15.92 kB / 0.9611 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01084, allocations: 4 kB / 0.9611 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01084, allocations: 0 / 0.9611 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.01114, allocations: 240.6 kB / 0.9613 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.01115, allocations: 19.91 kB / 0.9613 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.01117, allocations: 7.938 kB / 0.9613 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.01123, allocations: 15.97 kB / 0.9614 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01128, allocations: 23.97 kB / 0.9614 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01128, allocations: 8 kB / 0.9614 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.01136, allocations: 157.2 kB / 0.9615 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01136, allocations: 4 kB / 0.9615 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001838/0.01155, allocations: 51.89 kB / 0.9616 GB, free: 8.328 MB / 0.9167 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.000102/0.01165, allocations: 113.9 kB / 0.9617 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.01208, allocations: 381.9 kB / 0.9621 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01208, allocations: 0 / 0.9621 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.01222, allocations: 83.86 kB / 0.9621 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.01243, allocations: 57.06 kB / 0.9622 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.01288, allocations: 411.7 kB / 0.9626 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.438e-05/0.01296, allocations: 140.8 kB / 0.9627 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.013, allocations: 20.5 kB / 0.9627 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of SimCode: time 4.9e-07/0.013, allocations: 0 / 0.9627 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of Templates: time 0.003171/0.01617, allocations: 3.143 MB / 0.9658 GB, free: 3.926 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.676786633208394]