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.001125/0.001125, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002606, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006949/0.0006949, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009297/0.001625, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9455/0.9455, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09576/1.041, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.839/1.839, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5624/2.402, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.294e-06/2.294e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.745e-05, allocations: 7.938 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00201/0.002038, allocations: 1.026 MB / 0.7303 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004925/0.006963, allocations: 1.381 MB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.007058, allocations: 7.938 kB / 0.7317 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.673e-05/0.007155, allocations: 21.44 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.00727, allocations: 52.55 kB / 0.7318 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.007926, allocations: 261.7 kB / 0.732 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003497/0.01142, allocations: 392.2 kB / 0.7324 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.01159, allocations: 54.27 kB / 0.7324 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.01195, allocations: 239.6 kB / 0.7327 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.01214, allocations: 97.14 kB / 0.7327 GB, free: 1.051 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.01218, allocations: 25.72 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.01231, allocations: 51.86 kB / 0.7328 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.01239, allocations: 39.86 kB / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.959e-05/0.01248, allocations: 63.88 kB / 0.7329 GB, free: 0.875 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.01278, allocations: 219.2 kB / 0.7331 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/0.01279, allocations: 1.031 kB / 0.7331 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.462e-06/0.01279, allocations: 0 / 0.7331 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.01281, allocations: 0 / 0.7331 GB, free: 0.6602 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.0007764/0.01359, allocations: 0.5391 MB / 0.7337 GB, free: 84 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.01362, allocations: 8.875 kB / 0.7337 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.01392, allocations: 126 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.01466, allocations: 216.8 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.01469, allocations: 13.25 kB / 0.734 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.01472, allocations: 28.34 kB / 0.734 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.01494, allocations: 164.4 kB / 0.7342 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01495, allocations: 192 / 0.7342 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.01496, allocations: 10.23 kB / 0.7342 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.01497, allocations: 4.375 kB / 0.7342 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.763e-05/0.01502, allocations: 39.84 kB / 0.7342 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.01556, allocations: 0.6531 MB / 0.7349 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.888e-05/0.01566, allocations: 106.2 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.01569, allocations: 32.3 kB / 0.735 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.0157, allocations: 8.656 kB / 0.735 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.01585, allocations: 125 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.01585, allocations: 0 / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002017/0.01605, allocations: 114.7 kB / 0.7352 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.01612, allocations: 160 kB / 0.7354 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.01624, allocations: 209 kB / 0.7356 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.01627, allocations: 29.7 kB / 0.7356 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.01633, allocations: 136.9 kB / 0.7358 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.01636, allocations: 31.73 kB / 0.7358 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.01642, allocations: 58.41 kB / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.01652, allocations: 326.8 kB / 0.7362 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.01661, allocations: 100.8 kB / 0.7363 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.01676, allocations: 234.6 kB / 0.7365 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.01692, allocations: 192.2 kB / 0.7367 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01692, allocations: 0.6562 kB / 0.7367 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002666/0.01719, allocations: 298 kB / 0.7369 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.01726, allocations: 67.39 kB / 0.737 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.01727, allocations: 5.031 kB / 0.737 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01729, allocations: 7.938 kB / 0.737 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.01739, allocations: 29.7 kB / 0.7371 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.0174, allocations: 0 / 0.7371 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.01756, allocations: 53.31 kB / 0.7371 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.01758, allocations: 15.98 kB / 0.7371 GB, free: 12.14 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.0001143/0.0177, allocations: 131.4 kB / 0.7372 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.01772, allocations: 11.98 kB / 0.7373 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.01816, allocations: 25.33 kB / 0.7373 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.01817, allocations: 7.938 kB / 0.7373 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01817, allocations: 0 / 0.7373 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01818, allocations: 0 / 0.7373 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.01832, allocations: 126.3 kB / 0.7374 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01833, allocations: 2.188 kB / 0.7374 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.0184, allocations: 19.98 kB / 0.7374 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.01842, allocations: 15.86 kB / 0.7374 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01842, allocations: 4 kB / 0.7374 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.01843, allocations: 0 / 0.7374 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.01844, allocations: 15.86 kB / 0.7375 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01844, allocations: 0.75 kB / 0.7375 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.01859, allocations: 133 kB / 0.7376 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.01861, allocations: 0.5 kB / 0.7376 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.701e-05/0.01866, allocations: 18.67 kB / 0.7376 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.01871, allocations: 23.84 kB / 0.7376 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-06/0.01872, allocations: 4 kB / 0.7376 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.01877, allocations: 66.8 kB / 0.7377 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.01877, allocations: 0 / 0.7377 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001808/0.01895, allocations: 51.89 kB / 0.7377 GB, free: 11.45 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.0001962/0.01915, allocations: 94.77 kB / 0.7378 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01941, allocations: 286.9 kB / 0.7381 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.01942, allocations: 4 kB / 0.7381 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.01946, allocations: 30.45 kB / 0.7381 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01968, allocations: 66.39 kB / 0.7382 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.02047, allocations: 385.9 kB / 0.7386 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.02051, allocations: 79.97 kB / 0.7387 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.841e-05/0.02058, allocations: 24.11 kB / 0.7387 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.02072, allocations: 103.3 kB / 0.7388 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/0.02072, allocations: 4 kB / 0.7388 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.006163/0.02688, allocations: 3.573 MB / 0.7423 GB, free: 6.941 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.951890289783478]