Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001277/0.001277, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002135/0.003412, allocations: 435.8 kB / 10.33 MB, free: 368 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.001574/0.001574, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001949/0.003523, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9549/0.9549, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08543/1.04, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.479/2.479, allocations: 446.7 MB / 0.6745 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2544/2.733, allocations: 145.9 MB / 0.817 GB, free: 4.172 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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.605e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003344/0.00337, allocations: 1.324 MB / 0.8196 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002702/0.006072, allocations: 1.606 MB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.00632, allocations: 4 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.006482, allocations: 43.47 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.006724, allocations: 79.31 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.008012, allocations: 491 kB / 0.8218 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001282/0.009293, allocations: 0.6365 MB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.009666, allocations: 123.9 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008786/0.01054, allocations: 415.2 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.01098, allocations: 179.5 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.01115, allocations: 52 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.01136, allocations: 63.92 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.291e-05/0.01146, allocations: 59.8 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.01168, allocations: 119.8 kB / 0.8233 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.01228, allocations: 354.8 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.241e-05/0.0123, allocations: 0 / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.003e-06/0.0123, allocations: 0 / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.388e-05/0.01233, allocations: 3.938 kB / 0.8237 GB, free: 13.32 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00132/0.01365, allocations: 0.9006 MB / 0.8246 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.01369, allocations: 8.625 kB / 0.8246 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.01384, allocations: 64.88 kB / 0.8246 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.01427, allocations: 261.6 kB / 0.8249 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.01432, allocations: 32.86 kB / 0.8249 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/0.01438, allocations: 36.38 kB / 0.825 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.01487, allocations: 357.8 kB / 0.8253 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01488, allocations: 192 / 0.8253 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.01491, allocations: 12.38 kB / 0.8253 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01492, allocations: 4.375 kB / 0.8253 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.01514, allocations: 215.9 kB / 0.8255 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.01639, allocations: 0.5166 MB / 0.826 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.01673, allocations: 282.2 kB / 0.8263 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.01694, allocations: 230.2 kB / 0.8265 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.01696, allocations: 8 kB / 0.8265 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.01732, allocations: 331.6 kB / 0.8268 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=44): time 3.727e-06/0.01732, allocations: 0 / 0.8268 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44): time 0.0007807/0.0181, allocations: 0.6988 MB / 0.8275 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.01816, allocations: 63.34 kB / 0.8276 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.01842, allocations: 262.9 kB / 0.8278 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.436e-05/0.01851, allocations: 45.7 kB / 0.8279 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01864, allocations: 145.3 kB / 0.828 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.01876, allocations: 134.9 kB / 0.8281 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.01897, allocations: 126 kB / 0.8283 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01911, allocations: 350.7 kB / 0.8286 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.01947, allocations: 384.2 kB / 0.829 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.01986, allocations: 469.1 kB / 0.8294 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.02049, allocations: 0.6781 MB / 0.8301 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.0205, allocations: 0 / 0.8301 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009722/0.02147, allocations: 0.906 MB / 0.831 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.02164, allocations: 271.3 kB / 0.8312 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.02166, allocations: 4 kB / 0.8312 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.02168, allocations: 4 kB / 0.8312 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.02197, allocations: 67.84 kB / 0.8313 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.02198, allocations: 4.281 kB / 0.8313 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.02248, allocations: 111.7 kB / 0.8314 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.02262, allocations: 67.84 kB / 0.8315 GB, free: 4.465 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003247/0.02294, allocations: 292.8 kB / 0.8317 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/0.02303, allocations: 43.97 kB / 0.8318 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.435e-05/0.02311, allocations: 35.42 kB / 0.8318 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.02312, allocations: 4 kB / 0.8318 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.02313, allocations: 7.938 kB / 0.8318 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.02313, allocations: 3.984 kB / 0.8318 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.02425, allocations: 0.8516 MB / 0.8327 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.02426, allocations: 0 / 0.8327 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.02447, allocations: 67.91 kB / 0.8327 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.02455, allocations: 39.64 kB / 0.8328 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.02456, allocations: 4 kB / 0.8328 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.0246, allocations: 11.98 kB / 0.8328 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.0246, allocations: 0 / 0.8328 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.0246, allocations: 0 / 0.8328 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.02519, allocations: 0.6087 MB / 0.8334 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.02525, allocations: 12 kB / 0.8334 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.02543, allocations: 23.97 kB / 0.8334 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.02551, allocations: 39.94 kB / 0.8334 GB, free: 2.219 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.02558, allocations: 43.94 kB / 0.8335 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001318/0.02572, allocations: 92.62 kB / 0.8336 GB, free: 2.086 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02572, allocations: 3.938 kB / 0.8336 GB, free: 2.082 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005339/0.02625, allocations: 107.9 kB / 0.8337 GB, free: 1.977 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0002156/0.02647, allocations: 102.7 kB / 0.8338 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.02761, allocations: 1.181 MB / 0.8349 GB, free: 500 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.764e-05/0.02763, allocations: 4 kB / 0.8349 GB, free: 496 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.02804, allocations: 0.5139 MB / 0.8354 GB, free: 15.88 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.02862, allocations: 128.8 kB / 0.8356 GB, free: 15.75 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.03035, allocations: 0.8372 MB / 0.8364 GB, free: 14.85 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.03045, allocations: 112.9 kB / 0.8365 GB, free: 14.72 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.03064, allocations: 47.27 kB / 0.8365 GB, free: 14.68 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/0.03114, allocations: 189.3 kB / 0.8367 GB, free: 14.49 MB / 0.823 GB Notification: Performance of SimCode: time 1.993e-06/0.03114, allocations: 0 / 0.8367 GB, free: 14.49 MB / 0.823 GB Notification: Performance of Templates: time 0.01462/0.04576, allocations: 7.635 MB / 0.8442 GB, free: 7.02 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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: 5.5145655972883105]