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.001117/0.001117, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.00269, allocations: 440 kB / 10.41 MB, free: 284 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.001099/0.001099, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001674/0.002773, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9774/0.9774, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09949/1.077, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.417/2.417, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2362/2.653, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",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.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.131e-05, allocations: 6.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00156/0.001581, allocations: 1.023 MB / 0.8199 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.002877, allocations: 1.4 MB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.002941, allocations: 4 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.135e-05/0.003012, allocations: 15.75 kB / 0.8213 GB, free: 48 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.003102, allocations: 51.67 kB / 0.8214 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.003578, allocations: 267.2 kB / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.003894, allocations: 371.3 kB / 0.822 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.00401, allocations: 54.42 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.004263, allocations: 251.5 kB / 0.8223 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.004426, allocations: 99.73 kB / 0.8224 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.004464, allocations: 24 kB / 0.8224 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.004581, allocations: 43.97 kB / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.004642, allocations: 39.88 kB / 0.8225 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.004718, allocations: 67.81 kB / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.004998, allocations: 215.3 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.005008, allocations: 4 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.323e-06/0.005009, allocations: 0 / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.005023, allocations: 0 / 0.8227 GB, free: 14.59 MB / 0.8073 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.0009683/0.005991, allocations: 0.5454 MB / 0.8233 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.006021, allocations: 8.031 kB / 0.8233 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.006266, allocations: 130 kB / 0.8234 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.006484, allocations: 212.8 kB / 0.8236 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.006506, allocations: 16.38 kB / 0.8236 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.006535, allocations: 24.38 kB / 0.8236 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.006729, allocations: 167.1 kB / 0.8238 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.006738, allocations: 192 / 0.8238 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.006751, allocations: 8.375 kB / 0.8238 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.006761, allocations: 4.375 kB / 0.8238 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.006816, allocations: 39.78 kB / 0.8239 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.0073, allocations: 0.6479 MB / 0.8245 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.521e-05/0.007395, allocations: 101 kB / 0.8246 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.007431, allocations: 40.33 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.00744, allocations: 4 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.007577, allocations: 123.5 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.007578, allocations: 0 / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001866/0.007764, allocations: 113.5 kB / 0.8249 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.007823, allocations: 166.1 kB / 0.825 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.007939, allocations: 201 kB / 0.8252 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.007965, allocations: 33.7 kB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.008028, allocations: 140.8 kB / 0.8254 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.008055, allocations: 31.73 kB / 0.8254 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.008122, allocations: 45.67 kB / 0.8254 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.008206, allocations: 342.8 kB / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.00829, allocations: 99.75 kB / 0.8259 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.008405, allocations: 237.5 kB / 0.8261 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.008534, allocations: 189.8 kB / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008536, allocations: 0 / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002331/0.008769, allocations: 304.2 kB / 0.8266 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.008813, allocations: 67.39 kB / 0.8266 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.008819, allocations: 4 kB / 0.8266 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.008832, allocations: 7.938 kB / 0.8266 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.008909, allocations: 15.98 kB / 0.8267 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.008914, allocations: 7.984 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.009066, allocations: 67.98 kB / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.009083, allocations: 8 kB / 0.8267 GB, free: 10.04 MB / 0.8073 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 8.354e-05/0.009166, allocations: 128.7 kB / 0.8269 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.009188, allocations: 15.98 kB / 0.8269 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.009223, allocations: 21.34 kB / 0.8269 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.009228, allocations: 7.922 kB / 0.8269 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.009229, allocations: 4 kB / 0.8269 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.009233, allocations: 0 / 0.8269 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.00934, allocations: 117.8 kB / 0.827 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009342, allocations: 0 / 0.827 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.00939, allocations: 27.91 kB / 0.827 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.009407, allocations: 19.8 kB / 0.8271 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.00941, allocations: 4 kB / 0.8271 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.009417, allocations: 4 kB / 0.8271 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.00942, allocations: 7.938 kB / 0.8271 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.009421, allocations: 0 / 0.8271 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.009534, allocations: 128.9 kB / 0.8272 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.009549, allocations: 12 kB / 0.8272 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.00959, allocations: 11.98 kB / 0.8272 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.009634, allocations: 15.92 kB / 0.8272 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.009643, allocations: 8 kB / 0.8272 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.00969, allocations: 62.78 kB / 0.8273 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.00969, allocations: 4 kB / 0.8273 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001636/0.009854, allocations: 55.88 kB / 0.8274 GB, free: 9.32 MB / 0.8073 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.0001264/0.00998, allocations: 88.47 kB / 0.8274 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.0102, allocations: 301 kB / 0.8277 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.01021, allocations: 4 kB / 0.8277 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.804e-05/0.01026, allocations: 36.78 kB / 0.8278 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.01053, allocations: 365.3 kB / 0.8281 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.01123, allocations: 387.4 kB / 0.8285 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.817e-05/0.01128, allocations: 87.97 kB / 0.8286 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.086e-05/0.01135, allocations: 21.64 kB / 0.8286 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.0115, allocations: 111.3 kB / 0.8287 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of SimCode: time 9.72e-07/0.0115, allocations: 0 / 0.8287 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of Templates: time 0.005645/0.01714, allocations: 3.528 MB / 0.8321 GB, free: 4.32 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal/Buildings_latest_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: 5.255986894480884]