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.0007867/0.0007867, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001859, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009739/0.0009739, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002239, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9045/0.9045, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09956/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.854/1.854, allocations: 378.3 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5107/2.365, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",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.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.091e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002489/0.00252, allocations: 1.027 MB / 0.7306 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.00477, allocations: 1.393 MB / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.004889, allocations: 0 / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.005007, allocations: 28.61 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.005152, allocations: 48.45 kB / 0.7321 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.006, allocations: 265.3 kB / 0.7323 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.006564, allocations: 393.3 kB / 0.7327 GB, free: 1.328 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.00674, allocations: 50.28 kB / 0.7328 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.007173, allocations: 252.2 kB / 0.733 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.007388, allocations: 93.19 kB / 0.7331 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.007448, allocations: 28 kB / 0.7331 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.007621, allocations: 48.5 kB / 0.7332 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.007707, allocations: 48.73 kB / 0.7332 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.007809, allocations: 63.88 kB / 0.7333 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.008173, allocations: 203.9 kB / 0.7335 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.008187, allocations: 4 kB / 0.7335 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.051e-06/0.008188, allocations: 4.75 kB / 0.7335 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.008209, allocations: 3.938 kB / 0.7335 GB, free: 0.5469 MB / 0.698 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.0009567/0.009165, allocations: 0.5472 MB / 0.734 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.009208, allocations: 8.031 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/0.009547, allocations: 130 kB / 0.7341 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.009852, allocations: 197.7 kB / 0.7343 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.009887, allocations: 20.36 kB / 0.7343 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.009932, allocations: 20.91 kB / 0.7344 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.01022, allocations: 164.8 kB / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01023, allocations: 192 / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.01025, allocations: 4.375 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.01026, allocations: 9.125 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.01034, allocations: 39.84 kB / 0.7346 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.01108, allocations: 0.6415 MB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.01121, allocations: 110.8 kB / 0.7353 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.01126, allocations: 32.36 kB / 0.7353 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.01127, allocations: 5.75 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.01145, allocations: 135.5 kB / 0.7355 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.01146, allocations: 0 / 0.7355 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002464/0.0117, allocations: 107 kB / 0.7356 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.01178, allocations: 162.8 kB / 0.7357 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.01195, allocations: 209 kB / 0.7359 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.01199, allocations: 34.83 kB / 0.736 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.01208, allocations: 132.9 kB / 0.7361 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.01211, allocations: 35.72 kB / 0.7361 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-05/0.01221, allocations: 46.39 kB / 0.7362 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.01232, allocations: 330.8 kB / 0.7365 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.01245, allocations: 108.4 kB / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.01262, allocations: 227.6 kB / 0.7368 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.01282, allocations: 193.1 kB / 0.737 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01282, allocations: 0 / 0.737 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003448/0.01317, allocations: 302.2 kB / 0.7373 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.01323, allocations: 71.39 kB / 0.7373 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01324, allocations: 4.594 kB / 0.7373 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.01326, allocations: 4.406 kB / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01337, allocations: 20.73 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01338, allocations: 8.688 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.0136, allocations: 58.03 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.01363, allocations: 11.98 kB / 0.7374 GB, free: 12.04 MB / 0.7136 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.0001134/0.01374, allocations: 120.7 kB / 0.7376 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.01377, allocations: 21.22 kB / 0.7376 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.01382, allocations: 25.33 kB / 0.7376 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01382, allocations: 3.938 kB / 0.7376 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01383, allocations: 5.156 kB / 0.7376 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01383, allocations: 3.938 kB / 0.7376 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.01399, allocations: 121.8 kB / 0.7377 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.014, allocations: 5.25 kB / 0.7377 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.615e-05/0.01407, allocations: 19.92 kB / 0.7378 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.0141, allocations: 23.84 kB / 0.7378 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.0141, allocations: 0.7812 kB / 0.7378 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01412, allocations: 11.98 kB / 0.7378 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.01412, allocations: 6.688 kB / 0.7378 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01412, allocations: 4 kB / 0.7378 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.01428, allocations: 116.5 kB / 0.7379 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01431, allocations: 8 kB / 0.7379 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.01438, allocations: 11.98 kB / 0.7379 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.01443, allocations: 22.78 kB / 0.738 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01444, allocations: 4 kB / 0.738 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.01452, allocations: 66.78 kB / 0.738 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01452, allocations: 0 / 0.738 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000273/0.01479, allocations: 51.89 kB / 0.7381 GB, free: 11.35 MB / 0.7136 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.0001754/0.01497, allocations: 99.09 kB / 0.7382 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.01528, allocations: 289.5 kB / 0.7384 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.0153, allocations: 4 kB / 0.7384 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.01537, allocations: 39.22 kB / 0.7385 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.01575, allocations: 370.5 kB / 0.7388 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.01663, allocations: 378.9 kB / 0.7392 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.194e-05/0.01669, allocations: 84.91 kB / 0.7393 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.041e-05/0.01678, allocations: 28.41 kB / 0.7393 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.01697, allocations: 107.3 kB / 0.7394 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/0.01697, allocations: 0 / 0.7394 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.006477/0.02345, allocations: 3.536 MB / 0.7429 GB, free: 6.484 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.863106155768037]